ocxl: remove set but not used variables 'tid' and 'lpid'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 29 Mar 2019 15:44:56 +0000 (23:44 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 May 2019 02:09:27 +0000 (12:09 +1000)
commit32eeb5614d3bf166e84fe69bb5f3a51a48cac7a1
tree63867a4fb3b87273e0cd3d1ea399a6bf80ee06b0
parenta5ae043de7678f189303559782f6057078459a41
ocxl: remove set but not used variables 'tid' and 'lpid'

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
  drivers/misc/ocxl/link.c:187:6: warning: variable 'lpid' set but not used

They are never used and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/ocxl/link.c