diff options
| author | Igor Mammedov | 2014-02-03 11:44:57 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-02-05 15:55:49 +0100 |
| commit | 8f5001f9ede507940317531bc83154288e7a1d0a (patch) | |
| tree | 80de283c6da7c5c3d66db3592b58b25dae724317 /scripts/checkpatch.pl | |
| parent | pcihp: reduce number of device check events (diff) | |
| download | qemu-8f5001f9ede507940317531bc83154288e7a1d0a.tar.gz qemu-8f5001f9ede507940317531bc83154288e7a1d0a.tar.xz qemu-8f5001f9ede507940317531bc83154288e7a1d0a.zip | |
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>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
