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)
commitf344c25dbab1a392ef7a7afc8ca061b3b7285423
tree5dcf48f111cf273736240aa758e4454ec28c9fd5
parent39b9afbb4c0750742eb61b7a015e12f483e0b4a3
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