[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180227161702.81FE4607E5@smtp.codeaurora.org>
Date: Tue, 27 Feb 2018 16:17:02 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin Ian King <colin.king@...onical.com>
Cc: Daniel Drake <dsd@...too.org>, Ulrich Kunitz <kune@...ne-taler.de>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: wireless: zd1211rw: remove redundant assignment of pointer 'q'
Colin Ian King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.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@...onical.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
Powered by blists - more mailing lists