iwlwifi: mvm: small cleanups in quota management code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 25 Jul 2013 20:36:27 +0000 (22:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Aug 2013 08:33:47 +0000 (10:33 +0200)
commitf5e45f2d960cea226b9d173e232c94c4c388c1bc
treeebc17997e60523cd803f8a657b0252ea2146b238
parent17dbe56445328fcc275f2ca318c06e55d7d403df
iwlwifi: mvm: small cleanups in quota management code

Use a C99 initializer to clear the command and move the lockdep
assertion before the restart check. Since this causes problems
with the BUILD_BUG_ON() with some compilers, change that a bit.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/quota.c