wifi: ath6kl: return 0 explicitly in ath6kl_init_upload()
PATCH v3 1/1 wifi: ath6kl: return 0 explicitly in ath6kl_init_upload()
status is always zero at the last return in ath6kl_init_upload(). Explicitly return 0 on the success path instead of returning status.
No functional change.
---
Changes from v2 [2]
- Return 0 instead of removing the check, as suggested by Jeff
- Update the subject
Changes from v1 [1]
- Split the wifi patch per driver
- Change base to ath/for-next
- Filter only ath6kl changes
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
--- drivers/net/wireless/ath/ath6kl/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath6kl/init.c +1 -1
@@ -1570,7 +1570,7 @@ static int ath6kl_init_upload(struct ath6kl *ar)if (status)return status; -return status; +return 0 ; }int ath6kl_init_hw_params (struct ath6kl *ar)
Signature · 1 line
2.43.0
Jeff Johnson
AppliedQuoted 6 lines · Sang-Heon Jeon
status is always zero at the last return in
ath6kl_init_upload(). Explicitly return 0 on the success path instead of returning status.No functional change.
Applied, thanks!
[1/1] wifi: ath6kl: return 0 explicitly in ath6kl_init_upload()
commit: 8b8202b2e31367434a5079a6faee31588e5b4aa4
Best regards,
Signature · 1 line
Jeff Johnson <[email protected]>