summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorStephen M. Cameron2014-05-29 17:52:31 +0200
committerChristoph Hellwig2014-06-02 09:54:51 +0200
commit84ce1ee5bf0de5daec3d28d009d74099cee3cf46 (patch)
tree0d0bc7f181bc759c4336531c1b5fa0d0408552fb /drivers/scsi/hpsa.h
parentmvsas: Recognise device/subsystem 9485/9485 as 88SE9485 (diff)
downloadkernel-qcow2-linux-84ce1ee5bf0de5daec3d28d009d74099cee3cf46.tar.gz
kernel-qcow2-linux-84ce1ee5bf0de5daec3d28d009d74099cee3cf46.tar.xz
kernel-qcow2-linux-84ce1ee5bf0de5daec3d28d009d74099cee3cf46.zip
hpsa: remove unused fields from struct ctlr_info
The fields "major", "max_outstanding", and "usage_count" of struct ctlr_info were not used for anything. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: Mike Miller <michael.miller@canonical.com> Reviewed-by: Webb Scales <webb.scales@hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r--drivers/scsi/hpsa.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h
index 1e3cf33a82cf..75414a0ac657 100644
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -116,11 +116,8 @@ struct ctlr_info {
int nr_cmds; /* Number of commands allowed on this controller */
struct CfgTable __iomem *cfgtable;
int interrupts_enabled;
- int major;
int max_commands;
int commands_outstanding;
- int max_outstanding; /* Debug */
- int usage_count; /* number of opens all all minor devices */
# define PERF_MODE_INT 0
# define DOORBELL_INT 1
# define SIMPLE_MODE_INT 2