提交 c73bf7f4 编写于 作者: L Luis R. Rodriguez 提交者: Greg Kroah-Hartman

firmware: remove unused __fw_state_is_done()

After commit e44565f6 ("firmware: fix batched requests - wake all waiters")
where we moved away from swait to old wait with a completion we also
stopped using __fw_state_is_done(). Since this is longer used kill it.
Signed-off-by: NLuis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 24650324
...@@ -201,11 +201,6 @@ static void fw_state_init(struct fw_state *fw_st) ...@@ -201,11 +201,6 @@ static void fw_state_init(struct fw_state *fw_st)
fw_st->status = FW_STATUS_UNKNOWN; fw_st->status = FW_STATUS_UNKNOWN;
} }
static inline bool __fw_state_is_done(enum fw_status status)
{
return status == FW_STATUS_DONE || status == FW_STATUS_ABORTED;
}
static int __fw_state_wait_common(struct fw_state *fw_st, long timeout) static int __fw_state_wait_common(struct fw_state *fw_st, long timeout)
{ {
long ret; long ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册