diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-06-15 22:02:02 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-16 17:30:12 -0400 |
commit | a6c0d5c6ebb3d988b1f18a1612b5188f3f555637 (patch) | |
tree | a2053da4e1db2604b28d41b17e9315a17889eb02 /drivers/pci/hotplug/ibmphp_core.c | |
parent | c825bc94c8c1908750ab20413eb639c6be029e2d (diff) |
PCI hotplug: remove redundant .owner initializations
The "owner" field in struct hotplug_slot_ops is initialized by PCI
hotplug core. So each hotplug controller driver doesn't need to
initialize it.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_core.c')
-rw-r--r-- | drivers/pci/hotplug/ibmphp_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index 29ccb8a6da8a..b3d5d47e6980 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c | |||
@@ -1316,7 +1316,6 @@ error: | |||
1316 | } | 1316 | } |
1317 | 1317 | ||
1318 | struct hotplug_slot_ops ibmphp_hotplug_slot_ops = { | 1318 | struct hotplug_slot_ops ibmphp_hotplug_slot_ops = { |
1319 | .owner = THIS_MODULE, | ||
1320 | .set_attention_status = set_attention_status, | 1319 | .set_attention_status = set_attention_status, |
1321 | .enable_slot = enable_slot, | 1320 | .enable_slot = enable_slot, |
1322 | .disable_slot = ibmphp_disable_slot, | 1321 | .disable_slot = ibmphp_disable_slot, |