[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180704.224113.994787090221325781.davem@davemloft.net>
Date: Wed, 04 Jul 2018 22:41:13 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: manish.chopra@...ium.com, rahul.verma@...ium.com,
Dept-GELinuxNICDev@...ium.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] qlogic: netxen: remove various redundant variables
From: Colin King <colin.king@...onical.com>
Date: Wed, 4 Jul 2018 12:45:53 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Variables consumer, cmd_desc, end_cnt and no_of_desc are being assigned
> but are never used hence they are redundant and can be removed.
>
> Cleans up clang warnings:
> warning: variable 'consumer' set but not used [-Wunused-but-set-variable]
> warning: variable 'cmd_desc' set but not used [-Wunused-but-set-variable]
> warning: variable 'end_cnt' set but not used [-Wunused-but-set-variable]
> warning: variable 'no_of_desc' 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