iwlwifi: cleanup unused function
authorSara Sharon <sara.sharon@intel.com>
Sun, 15 Jan 2017 15:08:40 +0000 (17:08 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:20:51 +0000 (22:20 +0300)
iwl_has_secure_boot() isn't getting called anywhere. Clean it up.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-config.h

index 717e089ff036f44c7048084629c1390f154e4531..06034a71a1905494423414665a86c4c53dd17133 100644 (file)
@@ -90,16 +90,6 @@ enum iwl_device_family {
        IWL_DEVICE_FAMILY_8000,
 };
 
-static inline bool iwl_has_secure_boot(u32 hw_rev,
-                                      enum iwl_device_family family)
-{
-       /* return 1 only for family 8000 B0 */
-       if ((family == IWL_DEVICE_FAMILY_8000) && (hw_rev & 0xC))
-               return true;
-
-       return false;
-}
-
 /*
  * LED mode
  *    IWL_LED_DEFAULT:  use device default