Subject: Re: wireless: zd1211rw: remove redundant assignment of pointer 'q'

From: Kalle Valo <[email-masked]>
Date: Tue, 27 Feb 2018 16:17:02 +0000 (UTC)

Colin Ian King <[email-masked]> wrote:

> From: Colin Ian King <[email-masked]>
> 
> 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 <[email-masked]>

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