summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/shpchp.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2006-09-29 02:51:36 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-10-18 22:36:11 +0400
commit6aa562c248e05db993e4a5f405f899c0cfabb7f2 (patch)
treee2d2fca823131f0d33fb7015d35016576fc33d31 /drivers/pci/hotplug/shpchp.h
parentd1729ccecd7ba9ceb6dca1c973dbfd87041d0637 (diff)
downloadlinux-6aa562c248e05db993e4a5f405f899c0cfabb7f2.tar.xz
shpchp: remove unnecessary cmd_busy member from struct controller
This patch removes unnecessary cmd_busy member from struct controller. Read command status register instead of using cmd_busy. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r--drivers/pci/hotplug/shpchp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h
index c7103ac5cd06..7e7d490622e1 100644
--- a/drivers/pci/hotplug/shpchp.h
+++ b/drivers/pci/hotplug/shpchp.h
@@ -103,7 +103,6 @@ struct controller {
u32 cap_offset;
unsigned long mmio_base;
unsigned long mmio_size;
- volatile int cmd_busy;
};