iwlwifi: call iwl_remove_notification from iwl_wait_notification
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 24 Jul 2017 13:04:47 +0000 (16:04 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Aug 2017 13:03:22 +0000 (16:03 +0300)
commitd98d94952ab8421909159e6a7e4a9c8ad2204753
treef9def8a37efefb9e4f29a95e365288f04eb001a9
parent00e0c6c8fe8833acfebebf0af53b48a965084fd4
iwlwifi: call iwl_remove_notification from iwl_wait_notification

The iwl_wait_notification() function removes the wait entry from the
list.  To make it clearer that it's doing the same thing as
iwl_remove_notification(), call the latter instead of having duplicate
code.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c