diff options
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 704b8e034946..7c898875838f 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -664,7 +664,7 @@ static int fcoe_ddp_setup(struct fc_lport *lp, u16 xid, | |||
664 | { | 664 | { |
665 | struct net_device *n = fcoe_netdev(lp); | 665 | struct net_device *n = fcoe_netdev(lp); |
666 | 666 | ||
667 | if (n->netdev_ops && n->netdev_ops->ndo_fcoe_ddp_setup) | 667 | if (n->netdev_ops->ndo_fcoe_ddp_setup) |
668 | return n->netdev_ops->ndo_fcoe_ddp_setup(n, xid, sgl, sgc); | 668 | return n->netdev_ops->ndo_fcoe_ddp_setup(n, xid, sgl, sgc); |
669 | 669 | ||
670 | return 0; | 670 | return 0; |
@@ -681,7 +681,7 @@ static int fcoe_ddp_done(struct fc_lport *lp, u16 xid) | |||
681 | { | 681 | { |
682 | struct net_device *n = fcoe_netdev(lp); | 682 | struct net_device *n = fcoe_netdev(lp); |
683 | 683 | ||
684 | if (n->netdev_ops && n->netdev_ops->ndo_fcoe_ddp_done) | 684 | if (n->netdev_ops->ndo_fcoe_ddp_done) |
685 | return n->netdev_ops->ndo_fcoe_ddp_done(n, xid); | 685 | return n->netdev_ops->ndo_fcoe_ddp_done(n, xid); |
686 | return 0; | 686 | return 0; |
687 | } | 687 | } |