summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2017-11-20 21:23:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-29 13:10:50 +0300
commit2465032435f3e32b5843f7b4704405d9a6e4d699 (patch)
treedfac3606b80a0e6b4bbc29d1c83ca69fd6865916 /drivers/base
parentbe8d462f3e5713801a1f1bf3cccef30ff2a40423 (diff)
downloadlinux-2465032435f3e32b5843f7b4704405d9a6e4d699.tar.xz
firmware: remove duplicate fw_state_aborted()
The macro is defined twice without need. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/firmware_class.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c
index 4041548d1a81..485bb18cee1d 100644
--- a/drivers/base/firmware_class.c
+++ b/drivers/base/firmware_class.c
@@ -247,8 +247,6 @@ static int __fw_state_check(struct fw_state *fw_st, enum fw_status status)
#ifdef CONFIG_FW_LOADER_USER_HELPER
-#define fw_state_aborted(fw_st) \
- __fw_state_set(fw_st, FW_STATUS_ABORTED)
#define fw_state_is_done(fw_st) \
__fw_state_check(fw_st, FW_STATUS_DONE)
#define fw_state_is_loading(fw_st) \