iwlwifi: mvm: remove pointless cfg_phy_cnt length check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Sep 2015 10:26:45 +0000 (12:26 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 21 Sep 2015 15:08:44 +0000 (18:08 +0300)
commitabfd794c59c7cbfe31a5d1471e5868d4dbd74205
treec11fbf7300cb6006e7b24aa4f91b64194a4b7585
parent7f89a58efc0a18ec4a6eb7fdcf9ab73d426ce11f
iwlwifi: mvm: remove pointless cfg_phy_cnt length check

Since the driver can never configure the data here, this field
will always be reported as 0 by the firmware. Even if this was
not the case, however, it wouldn't matter since the extra data
would be added beyond the end of the phy_info structure we use
in the driver, so wouldn't harm anything in this code either.

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