From: Johannes Berg Date: Thu, 28 Apr 2016 12:39:22 +0000 (+0200) Subject: iwlwifi: remove useless enum values X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6d48fcd900803c7ddb9b3813176e2cdb4fcd6aaa;p=linux-beck.git iwlwifi: remove useless enum values Since the values of this enum are used only internally, we can let the compiler number them. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-drv.c b/drivers/net/wireless/intel/iwlwifi/iwl-drv.c index 5c5b9f228ac6..26afa72daa94 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-drv.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-drv.c @@ -129,8 +129,8 @@ struct iwl_drv { }; enum { - DVM_OP_MODE = 0, - MVM_OP_MODE = 1, + DVM_OP_MODE, + MVM_OP_MODE, }; /* Protects the table contents, i.e. the ops pointer & drv list */