diff options
author | Steve Glendinning <steve.glendinning@shawell.net> | 2012-09-28 04:07:08 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-29 02:34:57 +0400 |
commit | 4436761b63364201934d5511bb1199bee438345b (patch) | |
tree | 0af73fea7fd8dec4736be3f341434434d927f422 /drivers/net/usb/smsc95xx.h | |
parent | cf2acec2e90beffc20c8a63322f0a978ea4941df (diff) | |
download | linux-4436761b63364201934d5511bb1199bee438345b.tar.xz |
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.h | 1 |
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) |