Commit 3abbc145 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman
Browse files

xen/pvcalls: remove set but not used variable 'intf'

[ Upstream commit 1f8ce09b ]

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 e6587cdb

 ("pvcalls-back: set -ENOTCONN in

Signed-off-by: default avatarYueHaibing <>
Reviewed-by: default avatarBoris Ostrovsky <>
Signed-off-by: default avatarBoris Ostrovsky <>
Signed-off-by: default avatarSasha Levin <>
parent 1f1408d9
......@@ -291,12 +291,10 @@ static int pvcalls_back_socket(struct xenbus_device *dev,
static void pvcalls_sk_state_change(struct sock *sock)
struct sock_mapping *map = sock->sk_user_data;
struct pvcalls_data_intf *intf;
if (map == NULL)
intf = map->ring;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment