diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfcoe.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index 89fdbb9a6a1b..f43d3833a7a8 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h | |||
@@ -58,16 +58,10 @@ struct fcoe_softc { | |||
58 | u8 address_mode; | 58 | u8 address_mode; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static inline struct fcoe_softc *fcoe_softc( | ||
62 | const struct fc_lport *lp) | ||
63 | { | ||
64 | return (struct fcoe_softc *)lport_priv(lp); | ||
65 | } | ||
66 | |||
67 | static inline struct net_device *fcoe_netdev( | 61 | static inline struct net_device *fcoe_netdev( |
68 | const struct fc_lport *lp) | 62 | const struct fc_lport *lp) |
69 | { | 63 | { |
70 | return fcoe_softc(lp)->real_dev; | 64 | return ((struct fcoe_softc *)lport_priv(lp))->real_dev; |
71 | } | 65 | } |
72 | 66 | ||
73 | static inline struct fcoe_hdr *skb_fcoe_header(const struct sk_buff *skb) | 67 | static inline struct fcoe_hdr *skb_fcoe_header(const struct sk_buff *skb) |