mirror of https://gitee.com/openkylin/linux.git
Staging: w35und: Kill Vendor2 ifdef from hal_init_hardware
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>
This commit is contained in:
parent
ddee7e28e7
commit
9255650cbf
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue