Messages in this thread | | | Subject | Re: wireless: zd1211rw: remove redundant assignment of pointer 'q' | From | Kalle Valo <> | Date | Tue, 27 Feb 2018 16:17:02 +0000 (UTC) |
| |
Colin Ian King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com> > > Pointer q is initialized and then almost immediately afterwards being > re-assigned the same value. Remove the second redundant assignment. > > Cleans up clang warning: > drivers/net/wireless/zydas/zd1211rw/zd_mac.c:503:23: warning: Value > stored to 'q' during its initialization is never read > > Signed-off-by: Colin Ian King <colin.king@canonical.com>
Patch applied to wireless-drivers-next.git, thanks.
76d1f95983a0 wireless: zd1211rw: remove redundant assignment of pointer 'q'
-- https://patchwork.kernel.org/patch/10192195/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |