diff options
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r-- | drivers/net/loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 958450124dec..b7d438a367f3 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -145,6 +145,7 @@ static void loopback_dev_free(struct net_device *dev) | |||
145 | 145 | ||
146 | static const struct net_device_ops loopback_ops = { | 146 | static const struct net_device_ops loopback_ops = { |
147 | .ndo_init = loopback_dev_init, | 147 | .ndo_init = loopback_dev_init, |
148 | .ndo_start_xmit= loopback_xmit, | ||
148 | .ndo_get_stats = loopback_get_stats, | 149 | .ndo_get_stats = loopback_get_stats, |
149 | }; | 150 | }; |
150 | 151 | ||
@@ -155,7 +156,6 @@ static const struct net_device_ops loopback_ops = { | |||
155 | static void loopback_setup(struct net_device *dev) | 156 | static void loopback_setup(struct net_device *dev) |
156 | { | 157 | { |
157 | dev->mtu = (16 * 1024) + 20 + 20 + 12; | 158 | dev->mtu = (16 * 1024) + 20 + 20 + 12; |
158 | dev->hard_start_xmit = loopback_xmit; | ||
159 | dev->hard_header_len = ETH_HLEN; /* 14 */ | 159 | dev->hard_header_len = ETH_HLEN; /* 14 */ |
160 | dev->addr_len = ETH_ALEN; /* 6 */ | 160 | dev->addr_len = ETH_ALEN; /* 6 */ |
161 | dev->tx_queue_len = 0; | 161 | dev->tx_queue_len = 0; |