[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180906.155414.148086207999969031.davem@davemloft.net>
Date: Thu, 06 Sep 2018 15:54:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: derek.chickles@...iumnetworks.com,
satananda.burla@...iumnetworks.com,
felix.manlunas@...iumnetworks.com,
raghu.vatsavayi@...iumnetworks.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] liquidio CN23XX: Remove set but not used
variable 'ring_flag'
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 6 Sep 2018 11:22:09 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c: In function 'cn23xx_setup_octeon_vf_device':
> drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:619:20: warning:
> variable 'ring_flag' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists