]> git.baikalelectronics.ru Git - kernel.git/commit
niu: Fix warnings due to -Wunused-but-set-variable
authorDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 22:49:26 +0000 (15:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 22:49:26 +0000 (15:49 -0700)
commita63a7e39a6f5fa919d6674df7ffc278842b87ece
tree5dcf48f111cf273736240aa758e4454ec28c9fd5
parent64d1fe0aab482badf4628b1a6421108268f3ffa8
niu: Fix warnings due to -Wunused-but-set-variable

Most of these were legitimate, and once case was a real bug
(not propagating errors from ->xcvr_init() methods).

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c