be2net: a mini optimization in rx_compl_process() code
authorSathya Perla <sathyap@serverengines.com>
Wed, 17 Feb 2010 01:34:22 +0000 (01:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:35:38 +0000 (13:35 -0800)
commita058a632747dd0f1799b12f4ecd54e43f5b5f10d
tree6a397196c62a0703756c8bd24cb1e964ba8bffac
parentaa13bd6ef4ddd81080f972220fae30eb28f65b17
be2net: a mini optimization in rx_compl_process() code

Introduce unlikely() for skb alloc failure and vlanf checks...

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c