diff options
author | Vishal Thanki <vishalthanki@gmail.com> | 2016-11-16 17:01:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 07:11:47 +0200 |
commit | 31c576a5fe506b173559cf956dfd7f792cbfd601 (patch) | |
tree | 6fd1d413483af9722856c0b3b81a2c5381299857 /drivers/mtd | |
parent | f0df317b2bb383301bab159b96f1559f81ca51ef (diff) |
rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
commit a083c8fd277b4122c804f18ec8c84165f345c71c upstream.
In device removal routine, usage of "#ifdef CONFIG_RT2X00_LIB_USB"
will not cover the case when it is configured as module. This will
omit the entire if-block which does cleanup of URBs and cancellation
of pending work. Changing the #ifdef to #if IS_ENABLED() to fix it.
Signed-off-by: Vishal Thanki <vishalthanki@gmail.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions