From: Pekka Enberg Date: Sun, 28 Nov 2010 21:00:02 +0000 (+0200) Subject: Staging: w35und: Kill Vendor2 ifdef from hal_init_hardware X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9255650cbf997762bd667896b0b86661cd81c9b4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 Signed-off-by: Pekka Enberg Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index 5f54b0fd706a..9fc078f8c77a 100644 --- 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);