iwlwifi: remove useless enum values
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Apr 2016 12:39:22 +0000 (14:39 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 5 Jul 2016 21:06:04 +0000 (00:06 +0300)
Since the values of this enum are used only internally,
we can let the compiler number them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c

index 5c5b9f228ac68a1eaf0e79a5c6e7730d07819063..26afa72daa942661aa2cc93ff2327d9c28470e1c 100644 (file)
@@ -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 */