[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180705.193501.2058429078262964742.davem@davemloft.net>
Date: Thu, 05 Jul 2018 19:35:01 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fjes: use currently unused variable my_epid and
max_epid
From: Colin King <colin.king@...onical.com>
Date: Thu, 5 Jul 2018 11:05:32 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Variables my_epid and max_epid are currently assigned and not being
> used - however, I suspect they were intended to be used in the for-loops
> to reduce the dereferencing of hw. Replace hw->my_epid and hw->max_epid
> with these variables.
>
> Cleans up clang warnings:
> warning: variable 'my_epid' set but not used [-Wunused-but-set-variable]
> variable 'max_epid' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists