[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190404.173706.1182625110292398764.davem@davemloft.net>
Date: Thu, 04 Apr 2019 17:37:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: dougmill@...ux.ibm.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH -next] ehea: remove set but not used variables 'epa'
and 'cq_handle_ref'
From: Yue Haibing <yuehaibing@...wei.com>
Date: Wed, 3 Apr 2019 15:52:08 +0800
> From: YueHaibing <yuehaibing@...wei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/ibm/ehea/ehea_qmr.c: In function 'ehea_create_cq':
> drivers/net/ethernet/ibm/ehea/ehea_qmr.c:127:7: warning: variable 'cq_handle_ref' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/ibm/ehea/ehea_qmr.c:126:15: warning: variable 'epa' set but not used [-Wunused-but-set-variable]
>
> They are never used since commit
> 7a291083225a ("[PATCH] ehea: IBM eHEA Ethernet Device Driver")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists