Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[LLC]: Remove unused functions from llc_c_ev.c

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

+1 -24
+1 -24
net/llc/llc_c_ev.c
··· 37 37 #include <net/llc_conn.h> 38 38 #include <net/llc_sap.h> 39 39 #include <net/sock.h> 40 + #include <net/llc_c_ac.h> 40 41 #include <net/llc_c_ev.h> 41 42 #include <net/llc_pdu.h> 42 43 ··· 46 45 #else 47 46 #define dprintk(args...) 48 47 #endif 49 - 50 - extern u16 llc_circular_between(u8 a, u8 b, u8 c); 51 48 52 49 /** 53 50 * llc_util_ns_inside_rx_window - check if sequence number is in rx window ··· 472 473 case LLC_2_PDU_CMD_SABME: 473 474 case LLC_2_PDU_CMD_DISC: 474 475 rc = 0; 475 - break; 476 - } 477 - } 478 - return rc; 479 - } 480 - 481 - int llc_conn_ev_rx_xxx_rsp_fbit_set_1(struct sock *sk, struct sk_buff *skb) 482 - { 483 - u16 rc = 1; 484 - const struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); 485 - 486 - if (LLC_PDU_IS_RSP(pdu)) { 487 - if (LLC_PDU_TYPE_IS_I(pdu) || LLC_PDU_TYPE_IS_S(pdu)) { 488 - if (LLC_I_PF_IS_1(pdu)) 489 - rc = 0; 490 - } else if (LLC_PDU_TYPE_IS_U(pdu)) 491 - switch (LLC_U_PDU_RSP(pdu)) { 492 - case LLC_2_PDU_RSP_UA: 493 - case LLC_2_PDU_RSP_DM: 494 - case LLC_2_PDU_RSP_FRMR: 495 - if (LLC_U_PF_IS_1(pdu)) 496 - rc = 0; 497 476 break; 498 477 } 499 478 }