summaryrefslogtreecommitdiff
path: root/drivers/net/usb/smsc95xx.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@shawell.net>2012-09-28 00:07:08 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-28 18:34:57 -0400
commit4436761b63364201934d5511bb1199bee438345b (patch)
tree0af73fea7fd8dec4736be3f341434434d927f422 /drivers/net/usb/smsc95xx.h
parentcf2acec2e90beffc20c8a63322f0a978ea4941df (diff)
smsc95xx: remove unnecessary variables
Removes unnecessary variables as smsc95xx_write_reg takes its value by parameter. Early versions passed this parameter by reference. Also replace hardcoded interrupt status value with a #define Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/smsc95xx.h')
-rw-r--r--drivers/net/usb/smsc95xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/smsc95xx.h b/drivers/net/usb/smsc95xx.h
index 86bc44977fbd..a275b626ec69 100644
--- a/drivers/net/usb/smsc95xx.h
+++ b/drivers/net/usb/smsc95xx.h
@@ -63,6 +63,7 @@
#define INT_STS_TDFO_ (0x00001000)
#define INT_STS_RXDF_ (0x00000800)
#define INT_STS_GPIOS_ (0x000007FF)
+#define INT_STS_CLEAR_ALL_ (0xFFFFFFFF)
#define RX_CFG (0x0C)
#define RX_FIFO_FLUSH_ (0x00000001)