X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fllc%2Fllc_pdu.c;h=a28ce525d201b2061ab2d91f056f156f1d6a91ad;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=66344fabd84def7e36682d6ef776906cdf488e86;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/llc/llc_pdu.c b/net/llc/llc_pdu.c index 66344fabd..a28ce525d 100644 --- a/net/llc/llc_pdu.c +++ b/net/llc/llc_pdu.c @@ -79,19 +79,6 @@ void llc_pdu_decode_pf_bit(struct sk_buff *skb, u8 *pf_bit) } } -/** - * llc_pdu_decode_cr_bit - extracts command response bit from LLC header - * @skb: input skb that c/r bit must be extracted from it. - * @cr_bit: command/response bit (0 or 1). - * - * This function extracts command/response bit from LLC header. this bit - * is right bit of source SAP. - */ -void llc_pdu_decode_cr_bit(struct sk_buff *skb, u8 *cr_bit) -{ - *cr_bit = llc_pdu_un_hdr(skb)->ssap & LLC_PDU_CMD_RSP_MASK; -} - /** * llc_pdu_init_as_disc_cmd - Builds DISC PDU * @skb: Address of the skb to build