Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24650324 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Greg Kroah-Hartman
Browse files

firmware: remove duplicate fw_state_aborted()



The macro is defined twice without need.

Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent be8d462f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)				\