From: Johannes Berg Date: Thu, 28 Apr 2016 12:39:22 +0000 (+0200) Subject: iwlwifi: remove useless enum values X-Git-Tag: v4.8-rc1~140^2~29^2~10^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d48fcd900803c7ddb9b3813176e2cdb4fcd6aaa;p=platform%2Fkernel%2Flinux-exynos.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 5c5b9f2..26afa72 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 */