Messages in this thread | | | Subject | Re: [PATCH] ath6kl: remove redundant variables netlen, orig_buf, orig_len, dropped and stats | From | Kalle Valo <> | Date | Mon, 30 Jul 2018 17:57:33 +0000 (UTC) |
| |
Colin King <colin.king@canonical.com> wrote:
> Variables netlen, orig_buf, orig_len, dropped and stats are assigned values > but are never used hence they are redundant and can be removed. > > Cleans up clang warnings: > warning: variable 'netlen' set but not used [-Wunused-but-set-variable] > warning: variable 'orig_buf' set but not used [-Wunused-but-set-variable] > warning: variable 'orig_len' set but not used [-Wunused-but-set-variable] > warning: variable 'dropped' set but not used [-Wunused-but-set-variable] > warning: variable 'stats' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Colin Ian King <colin.king@canonical.com> > Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
619c9700a8fe ath6kl: remove redundant variables netlen, orig_buf, orig_len, dropped and stats
-- https://patchwork.kernel.org/patch/10514565/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |