[SCSI] gdth: clean up host private data
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 2 Oct 2007 21:05:53 +0000 (23:05 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:55:46 +0000 (14:55 -0400)
commit45f1a41b2b2e02e91d29bde66a8da4d050959f65
tree6515b852df3f5cdb090c5604af9bd38fee4a2816
parent52759e6abc88fe007a080772ee01ef1154f96f30
[SCSI] gdth: clean up host private data

  - Based on same patch from Christoph Hellwig <hch@lst.de>

  - Get rid of all the indirection in the Scsi_Host private data and always
    put the gdth_ha_str directly into it.

  - Change all internal functions prototype to recieve an "gdth_ha_str *ha"
    pointer directlly and kill all that redundent access to the "gdth_ctr_tab[]"
    controller-table.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/gdth.c
drivers/scsi/gdth.h
drivers/scsi/gdth_proc.c
drivers/scsi/gdth_proc.h