[LLC]: Help the compiler with likely/unlikely, saving some more bytes
[linux-3.10.git] / net / llc / llc_input.c
index 13b46240b7a108148657aa736a03a52b7e540b41..60c1acac7c97dc0faa5b5f94c33d937456b5f632 100644 (file)
@@ -101,7 +101,7 @@ static inline int llc_fixup_skb(struct sk_buff *skb)
        u8 llc_len = 2;
        struct llc_pdu_sn *pdu;
 
-       if (!pskb_may_pull(skb, sizeof(*pdu)))
+       if (unlikely(!pskb_may_pull(skb, sizeof(*pdu))))
                return 0;
 
        pdu = (struct llc_pdu_sn *)skb->data;