Skip to content

Commit

Permalink
Staging: w35und: Kill Vendor2 ifdef from hal_init_hardware
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Dec 1, 2010
1 parent ddee7e2 commit 9255650
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/winbond/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9255650

Please sign in to comment.