linux-stable/drivers/xen
YueHaibing e72e6ba17a xen/pciback: remove set but not used variable 'old_state'
[ Upstream commit 09e088a490 ]

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>
2019-08-25 10:47:52 +02:00
..
events xen/events: fix binding user event channels to cpus 2019-07-26 09:14:25 +02:00
xen-pciback xen/pciback: remove set but not used variable 'old_state' 2019-08-25 10:47:52 +02:00
xenbus xenbus: Avoid deadlock during suspend due to open transactions 2019-06-22 08:15:19 +02:00
xenfs
acpi.c
arm-device.c
balloon.c xen: let alloc_xenballooned_pages() fail if not enough memory free 2019-07-26 09:14:18 +02:00
biomerge.c
cpu_hotplug.c
dbgp.c
efi.c
evtchn.c xen/events: fix binding user event channels to cpus 2019-07-26 09:14:25 +02:00
fallback.c
features.c
gntalloc.c
gntdev-common.h
gntdev-dmabuf.c xen/gntdev: Do not destroy context while dma-bufs are in use 2019-04-05 22:33:06 +02:00
gntdev-dmabuf.h xen/gntdev: Do not destroy context while dma-bufs are in use 2019-04-05 22:33:06 +02:00
gntdev.c xen/gntdev: Do not destroy context while dma-bufs are in use 2019-04-05 22:33:06 +02:00
grant-table.c
Kconfig
Makefile
manage.c
mcelog.c
mem-reservation.c
pci.c
pcpu.c
platform-pci.c
preempt.c
privcmd-buf.c
privcmd.c
privcmd.h
pvcalls-back.c xen/pvcalls: remove set but not used variable 'intf' 2019-02-27 10:08:52 +01:00
pvcalls-front.c xen/pvcalls: Remove set but not used variable 2019-06-22 08:15:19 +02:00
pvcalls-front.h
swiotlb-xen.c xen/swiotlb: fix condition for calling xen_destroy_contiguous_region() 2019-08-06 19:06:55 +02:00
sys-hypervisor.c
time.c
tmem.c
xen-acpi-cpuhotplug.c
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c
xen-balloon.c
xen-scsiback.c
xen-selfballoon.c
xen-stub.c
xlate_mmu.c