]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0be52523f75ca6d1adacd875cfeadccbd6edc020
treed384371c9582aa78468276e4864b46414a1844f4
parent14e60a725f8cc146d548ab68eb22d3a163768ba1
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