atm: idt77252: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 07:10:17 +0000 (00:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 07:10:17 +0000 (00:10 -0700)
commitedb4dcb717d71f63c5147d7bef3014f96d192842
tree95e30d8f86935a2444391d388720f4f19f3d89f7
parente60c5e14fbfcaa54f430aad80b38763a403b2158
atm: idt77252: Fix set-but-unused variables.

Two cases here:

1) idt77252_rx_raw() really does not make any use of the
   extracted PTI field of the atm header.

2) idt77252_collect_stat() only uses the register values
   in code which has been compiled out by a "NOTDEF" cpp
   test for more than 10 years.  Just kill this NOTDEF
   code entirely, but keep the register reads in case
   they have side effects.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/idt77252.c
This page took 0.039281 seconds and 5 git commands to generate.