projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddee7e2
)
Staging: w35und: Kill Vendor2 ifdef from hal_init_hardware
author
Pekka Enberg
<penberg@kernel.org>
Sun, 28 Nov 2010 21:00:02 +0000
(23:00 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 1 Dec 2010 22:45:45 +0000
(14:45 -0800)
The Vendor2 macro is never defined so remove the ifdef'd block from
hal_init_hardware().
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/wbusb.c
patch
|
blob
|
history
diff --git
a/drivers/staging/winbond/wbusb.c
b/drivers/staging/winbond/wbusb.c
index
5f54b0f
..
9fc078f
100644
(file)
--- a/
drivers/staging/winbond/wbusb.c
+++ b/
drivers/staging/winbond/wbusb.c
@@
-642,13
+642,6
@@
static int hal_init_hardware(struct ieee80211_hw *hw)
SoftwareSet = hal_software_set(pHwData);
-#ifdef Vendor2
- /* Try to make sure the EEPROM contain */
- SoftwareSet >>= 8;
- if (SoftwareSet != 0x82)
- return false;
-#endif
-
Wb35Rx_start(hw);
Wb35Tx_EP2VM_start(priv);