OSDN Git Service

iwlwifi: mvm: don't check if a pointer is set if it can't be unset
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 14 Aug 2018 13:49:30 +0000 (16:49 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 14 Dec 2018 11:04:49 +0000 (13:04 +0200)
commit55ed14cdaec503bfe6a94f0524d0d2c9b7226aed
tree23fb9448b4e3af80333af40b4bba266ea8709249
parent956343a61226e1af3d146386f70a059feb567d0c
iwlwifi: mvm: don't check if a pointer is set if it can't be unset

We used to have many versions of statistics notification
coming from the firmware. In one of the cleanup patches,
we forgot to clean the code that checks if data->general
is set. Since it is always set, remove the check.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rx.c