Re: [PATCH -next] xen/pvcalls: Remove set but not used variable

2019-05-26 Thread Juergen Gross
On 25/05/2019 16:21, YueHaibing wrote: > 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:

[PATCH -next] xen/pvcalls: Remove set but not used variable

2019-05-25 Thread YueHaibing
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/pvca

Re: [PATCH -next] xen/pvcalls: remove set but not used variable 'intf'

2019-01-04 Thread Boris Ostrovsky
On 1/4/19 1:03 AM, YueHaibing wrote: > 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 e6587cdbd7

[PATCH -next] xen/pvcalls: remove set but not used variable 'intf'

2019-01-03 Thread YueHaibing
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_