OSDN Git Service

niu: Change niu_rbr_fill() to use unlikely() to check niu_rbr_add_page() return value
authorShuah Khan <shuah.khan@hp.com>
Fri, 20 Jul 2012 13:34:32 +0000 (13:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 06:31:07 +0000 (23:31 -0700)
commit9b70749e64132e17ab02239b82fcb4a2c55554d1
treed384371c9582aa78468276e4864b46414a1844f4
parentec2deec1f3520c467e3fb64f11a5d1e9c073e376
niu: Change niu_rbr_fill() to use unlikely() to check niu_rbr_add_page() return value

Change niu_rbr_fill() to use unlikely() to check niu_rbr_add_page() return
value to be consistent with the rest of the checks after niu_rbr_add_page()
calls in this file.

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/niu.c