From 29c4be51e3fd52205d848248d38924941f22ca0e Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 21 Apr 2005 16:46:56 -0700 Subject: [AX25]: make ax25_queue_xmit a net_device parameter I.e. not using skb->dev as a way to pass the parameter used to fill... skb->dev :-) Also to get the _type_trans open coded sequence grouped, next changesets will introduce ax25_type_trans. Signed-off-by: Ralf Baechle Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- net/ax25/ax25_ip.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'net/ax25/ax25_ip.c') diff --git a/net/ax25/ax25_ip.c b/net/ax25/ax25_ip.c index 04d711344d5..bba0173e2d6 100644 --- a/net/ax25/ax25_ip.c +++ b/net/ax25/ax25_ip.c @@ -199,9 +199,7 @@ int ax25_rebuild_header(struct sk_buff *skb) skb = ourskb; } - skb->dev = dev; - - ax25_queue_xmit(skb); + ax25_queue_xmit(skb, dev); put: ax25_put_route(route); -- cgit v1.2.3