diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-24 22:08:50 +0800 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2019-07-26 10:29:05 +0200 |
commit | 09e088a4903bd0dd911b4f1732b250130cdaffed (patch) | |
tree | aea891a23e248825c62c7d2a25fe34d7504d1812 /drivers/xen/gntdev.c | |
parent | a1078e821b605813b63bf6bca414a85f804d5c66 (diff) |
xen/pciback: remove set but not used variable 'old_state'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/xen/xen-pciback/conf_space_capability.c: In function pm_ctrl_write:
drivers/xen/xen-pciback/conf_space_capability.c:119:25: warning:
variable old_state set but not used [-Wunused-but-set-variable]
It is never used so can be removed.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/gntdev.c')
0 files changed, 0 insertions, 0 deletions