pcihp: replace enable|disable_device() with oneliners
commit8f5001f9ede507940317531bc83154288e7a1d0a
authorIgor Mammedov <imammedo@redhat.com>
Mon, 3 Feb 2014 10:44:57 +0000 (3 11:44 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Feb 2014 14:55:49 +0000 (5 16:55 +0200)
tree80de283c6da7c5c3d66db3592b58b25dae724317
parent5a2223ca26b1a34e131b5b9a63599d9426d2c25c
pcihp: replace enable|disable_device() with oneliners

enable_device() and disable_device() functions aren't reused anywere,
so replace them with respective oneliners at call sites.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/pcihp.c