summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-07-24 22:08:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-25 10:52:59 +0200
commit4590398b50fba99e3787f07888f020e93c57fb3b (patch)
tree724e734f8b6d61ec7d6f6719bb61a855473b6801 /tools/perf/scripts/python
parent98ed73a2820031feda0930c86005595a271f9be0 (diff)
xen/pciback: remove set but not used variable 'old_state'
[ Upstream commit 09e088a4903bd0dd911b4f1732b250130cdaffed ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions