Skip to content
Commit f1633011 authored by Robert Love's avatar Robert Love Committed by James Bottomley
Browse files

[SCSI] fcoe: remove double check if skb is nonlinear



skb_linearize already has a check for skb_is_nonlinear,
there is no need to duplicate the check in fcoe.c. This
patch simply removes the unnecessary check and calls
skb_linearize unconditionally.

Reported-by: default avatarpatrick kelle <patrick.kelle81@gmail.com>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Acked-by: default avatarpatrick kelle <patrick.kelle81@gmail.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 3a19cbf5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment