diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-04-13 16:20:22 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-04-15 11:46:12 +0300 |
commit | 99cd87d63c0b0724a8e4f1405107ca06c10341e8 (patch) | |
tree | 9e3774df43c36f36ecd4f4ae2fdbee5ac19fd684 /drivers/net/wireless/marvell/libertas/cmd.h | |
parent | 40fb232c02d1b012c6c84b8c22465d01e20eddf9 (diff) |
libertas: make lbs_process_event() void
Fix the following coccicheck warning:
drivers/net/wireless/marvell/libertas/cmdresp.c:225:5-8: Unneeded
variable: "ret". Return "0" on line 355
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200413082022.22380-1-yanaijie@huawei.com
Diffstat (limited to 'drivers/net/wireless/marvell/libertas/cmd.h')
-rw-r--r-- | drivers/net/wireless/marvell/libertas/cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/libertas/cmd.h b/drivers/net/wireless/marvell/libertas/cmd.h index 80878561cb90..3c193074662b 100644 --- a/drivers/net/wireless/marvell/libertas/cmd.h +++ b/drivers/net/wireless/marvell/libertas/cmd.h @@ -76,7 +76,7 @@ void lbs_mac_event_disconnected(struct lbs_private *priv, /* Events */ -int lbs_process_event(struct lbs_private *priv, u32 event); +void lbs_process_event(struct lbs_private *priv, u32 event); /* Actual commands */ |