ipw2x00: make ipw_qos_association_resp() void
authorJason Yan <yanaijie@huawei.com>
Fri, 10 Apr 2020 09:08:50 +0000 (17:08 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Apr 2020 08:37:22 +0000 (11:37 +0300)
commita69a1328fb03309555d70f4add76eae3780a6fba
treeeaf111e1bef7f4e240f81269165f61bde1470140
parentfd7fb0253cdf96241308336e7833186b928336a8
ipw2x00: make ipw_qos_association_resp() void

Fix the following coccicheck warning:

drivers/net/wireless/intel/ipw2x00/ipw2200.c:7048:5-8: Unneeded
variable: "ret". Return "0" on line 7055

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/20200410090850.27025-1-yanaijie@huawei.com
drivers/net/wireless/intel/ipw2x00/ipw2200.c