From f0a7e272fca58e9b1b359ff5196ddea8a2884acb Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Sun, 29 Sep 2002 21:18:40 -0300 Subject: . LLC: kill mac_send_pdu, use plain dev_queue_xmit With this we avoid doing skb_clone on skbs that will not be kept on unacked lists. --- include/net/llc_mac.h | 2 -- include/net/llc_sap.h | 1 - 2 files changed, 3 deletions(-) (limited to 'include') diff --git a/include/net/llc_mac.h b/include/net/llc_mac.h index 3ab584987448..e87850701db6 100644 --- a/include/net/llc_mac.h +++ b/include/net/llc_mac.h @@ -11,8 +11,6 @@ * * See the GNU General Public License for more details. */ -/* Defines MAC-layer interface to LLC layer */ -extern int mac_send_pdu(struct sk_buff *skb); extern int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt); extern struct net_device *mac_dev_peer(struct net_device *current_dev, diff --git a/include/net/llc_sap.h b/include/net/llc_sap.h index 645e52759b36..557aac72bf98 100644 --- a/include/net/llc_sap.h +++ b/include/net/llc_sap.h @@ -44,5 +44,4 @@ extern void llc_sap_assign_sock(struct llc_sap *sap, struct sock *sk); extern void llc_sap_unassign_sock(struct llc_sap *sap, struct sock *sk); extern void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb); extern void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb); -extern void llc_sap_send_pdu(struct llc_sap *sap, struct sk_buff *skb); #endif /* LLC_SAP_H */ -- cgit v1.2.3