[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <44wNKF4yxqz9sB8@ozlabs.org>
Date: Fri, 3 May 2019 16:59:13 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Yue Haibing <yuehaibing@...wei.com>, <fbarrat@...ux.ibm.com>,
<andrew.donnellan@....ibm.com>, <arnd@...db.de>,
<gregkh@...uxfoundation.org>
Cc: YueHaibing <yuehaibing@...wei.com>, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] ocxl: remove set but not used variables 'tid' and 'lpid'
On Fri, 2019-03-29 at 15:44:56 UTC, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@...wei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/misc/ocxl/link.c: In function 'xsl_fault_handler':
> drivers/misc/ocxl/link.c:187:17: warning: variable 'tid' set but not used [-Wunused-but-set-variable]
> drivers/misc/ocxl/link.c:187:6: warning: variable 'lpid' set but not used [-Wunused-but-set-variable]
>
> They are never used and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Reviewed-by: Mukesh Ojha <mojha@...eaurora.org>
> Acked-by: Andrew Donnellan <andrew.donnellan@....ibm.com>
> Acked-by: Frederic Barrat <fbarrat@...ux.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/32eeb5614d3bf166e84fe69bb5f3a51a
cheers
Powered by blists - more mailing lists