]> git.baikalelectronics.ru Git - kernel.git/commit
atm: iphase: Fix set-but-not-used warnings.
authorDavid S. Miller <davem@davemloft.net>
Tue, 12 Apr 2011 23:14:21 +0000 (16:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Apr 2011 23:14:21 +0000 (16:14 -0700)
commite7f7da44460e03ca974e63328227fd35f9862e9c
treedb65a79017f00e081a8ba5476fff5095edf03be1
parent8094adb5f2ab1e0e0f4592d4e9a49e0879074d7d
atm: iphase: Fix set-but-not-used warnings.

The "iavcc" and "iadev" cases are obvious.

The intr_status and frmr_intr cases are reading a register to clear
the chip status.  This driver is pretty old and creaky, and uses
volatile pointer dereferences to do register I/O when it should be
using readl() and friends.  However that it outside of the scope of
these changes.

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