]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xen/pvcalls: Remove set but not used variable
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 14:21:51 +0000 (22:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jun 2019 06:15:19 +0000 (08:15 +0200)
commit66f33b2bd2d86a75e10f401f3caeecd439257e17
tree73218f3f7b8472d462034fdd49aa50287f9c5a5e
parentd92ebe0c1d26292d3f104a3507662ff1b57291de
xen/pvcalls: Remove set but not used variable

[ Upstream commit 41349672e3cbc2e8349831f21253509c3415aa2b ]

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

drivers/xen/pvcalls-front.c: In function pvcalls_front_sendmsg:
drivers/xen/pvcalls-front.c:543:25: warning: variable bedata set but not used [-Wunused-but-set-variable]
drivers/xen/pvcalls-front.c: In function pvcalls_front_recvmsg:
drivers/xen/pvcalls-front.c:638:25: warning: variable bedata set but not used [-Wunused-but-set-variable]

They are never used since introduction.

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