OSDN Git Service

[SCSI] fcoe: remove double check if skb is nonlinear
authorRobert Love <robert.w.love@intel.com>
Fri, 16 Dec 2011 22:24:49 +0000 (14:24 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 10 Jan 2012 23:01:23 +0000 (17:01 -0600)
commitf1633011e4fcb65bf65aebeaf4024efdc4c49d6e
tree04cae3ca39c606fdbca375328ab419a7f40a4d52
parent3a19cbf530648a63fb3f73630046c561f70c6b71
[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: patrick kelle <patrick.kelle81@gmail.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Acked-by: patrick kelle <patrick.kelle81@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fcoe/fcoe.c