]> git.ipfire.org Git - people/arne_f/kernel.git/commit
xen/pvcalls: remove set but not used variable 'intf'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 4 Jan 2019 06:03:40 +0000 (06:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:03 +0000 (10:08 +0100)
commit3abbc145c7f7dd6f2ba3e89a8e2e691fb16e1f85
tree4e64abf5e8d386b1a16e4a5874330d09bbf37b22
parent1f1408d9088c3bb2ce9c4ca066f24b3e147ba14e
xen/pvcalls: remove set but not used variable 'intf'

[ Upstream commit 1f8ce09b36c41a026a37a24b20efa32000892a64 ]

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/xen/pvcalls-back.c: In function 'pvcalls_sk_state_change':
drivers/xen/pvcalls-back.c:286:28: warning:
 variable 'intf' set but not used [-Wunused-but-set-variable]

It not used since e6587cdbd732 ("pvcalls-back: set -ENOTCONN in
pvcalls_conn_back_read")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/xen/pvcalls-back.c