diff options
author | Luis R. Rodriguez | 2017-11-20 10:23:52 -0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-11-29 11:10:50 +0100 |
commit | c73bf7f487983087238f086a15780c1227adce3b (patch) | |
tree | 78a38a1006bafb0c3fbe455b31c22a01faf75463 /drivers/base | |
parent | 2465032435f3e32b5843f7b4704405d9a6e4d699 (diff) |
firmware: remove unused __fw_state_is_done()
After commit e44565f62a ("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: 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.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 485bb18cee1d..0d35ed72c6c6 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c @@ -201,11 +201,6 @@ static void fw_state_init(struct fw_state *fw_st) 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) { long ret; |