summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/smsc95xx.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@shawell.net>2012-09-28 02:07:08 +0200
committerDavid S. Miller <davem@davemloft.net>2012-09-29 00:34:57 +0200
commit4436761b63364201934d5511bb1199bee438345b (patch)
tree0af73fea7fd8dec4736be3f341434434d927f422 /drivers/net/usb/smsc95xx.h
parentsmsc95xx: sleep before read for lengthy operations (diff)
downloadlinux-4436761b63364201934d5511bb1199bee438345b.tar.xz
linux-4436761b63364201934d5511bb1199bee438345b.zip
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)