aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lmc/lmc_proto.c
diff options
context:
space:
mode:
authorStephen Hemminger <[email protected]>2007-10-09 08:40:57 +0000
committerDavid S. Miller <[email protected]>2007-10-10 23:52:52 +0000
commit3b04ddde02cf1b6f14f2697da5c20eca5715017f (patch)
tree9da1341a5a399a507b5ea6bf5a3047506b8d8f8f /drivers/net/wan/lmc/lmc_proto.c
parent[NET]: Wrap hard_header_parse (diff)
downloadkernel-3b04ddde02cf1b6f14f2697da5c20eca5715017f.tar.gz
kernel-3b04ddde02cf1b6f14f2697da5c20eca5715017f.zip
[NET]: Move hardware header operations out of netdevice.
Since hardware header operations are part of the protocol class not the device instance, make them into a separate object and save memory. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lmc/lmc_proto.c')
-rw-r--r--drivers/net/wan/lmc/lmc_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/lmc/lmc_proto.c b/drivers/net/wan/lmc/lmc_proto.c
index 31e1799571ad..426c0678d983 100644
--- a/drivers/net/wan/lmc/lmc_proto.c
+++ b/drivers/net/wan/lmc/lmc_proto.c
@@ -111,7 +111,7 @@ void lmc_proto_attach(lmc_softc_t *sc) /*FOLD00*/
* They set a few basics because they don't use sync_ppp
*/
dev->flags |= IFF_POINTOPOINT;
- dev->hard_header = NULL;
+
dev->hard_header_len = 0;
dev->addr_len = 0;
}