iwlwifi: remove module loading failure message
authorJohannes Berg <johannes.berg@intel.com>
Tue, 28 Feb 2017 21:45:25 +0000 (22:45 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 19:50:43 +0000 (22:50 +0300)
commit06a1e85e66bac2b65b4953124b4f1b2c4aebb39f
treeeb5588118720bd0e6ae2320963d99821f217629f
parent53d515ec677a1903bb507b81dc12ae6922846c1b
iwlwifi: remove module loading failure message

When CONFIG_DEBUG_TEST_DRIVER_REMOVE is set, iwlwifi crashes
when the opmode module cannot be loaded, due to completing
the completion before using drv->dev, which can then already
be freed.

Fix this by removing the (fairly useless) message. Moving the
completion later causes a deadlock instead, so that's not an
option.

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