diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 09:32:10 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 09:32:10 +0200 |
commit | 249ff1c6d35fd32ca945967c3f0b948210a96baa (patch) | |
tree | b7f13f3a7c0d09d523e86ccac3dce0856288f726 /net/llc/llc_output.c | |
parent | [LLC]: Add sysctl support for the LLC timeouts (diff) | |
download | linux-249ff1c6d35fd32ca945967c3f0b948210a96baa.tar.xz linux-249ff1c6d35fd32ca945967c3f0b948210a96baa.zip |
[LLC]: Use some more likely/unlikely
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/llc/llc_output.c')
-rw-r--r-- | net/llc/llc_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_output.c b/net/llc/llc_output.c index ab5784cf163e..b4d55b6abb67 100644 --- a/net/llc/llc_output.c +++ b/net/llc/llc_output.c @@ -98,7 +98,7 @@ int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, dsap, LLC_PDU_CMD); llc_pdu_init_as_ui_cmd(skb); rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac); - if (!rc) + if (likely(!rc)) rc = dev_queue_xmit(skb); return rc; } |