diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-04 00:40:46 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-05 17:41:00 +0100 |
commit | b75cece1a79a6259185442004e040511ed3a7341 (patch) | |
tree | 36c84e5c1fbb2e633f23f659d1406981b30bf8fb /kernel/module.c | |
parent | 661b40644190eb5987907584920cb11a4a2c7a9e (diff) | |
download | linux-b75cece1a79a6259185442004e040511ed3a7341.tar.gz |
ACPI / hotplug / PCI: Simplify hotplug_event()
A few lines of code can be cut from hotplug_event() by defining
and initializing the slot variable at the top of the function,
so do that.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions