[SCSI] advansys: Make sdtr_period_tbl a pointer
authorMatthew Wilcox <matthew@wil.cx>
Wed, 3 Oct 2007 01:55:36 +0000 (21:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:53:45 +0000 (14:53 -0400)
commitafbb68c35f4bdf0964d88e9e005e6f62ba57d134
tree2805842e1971132ee56cc133d0e800a00b414698
parent9d0e96eba19e9973a1c21ddd1fdbc049b231bf3b
[SCSI] advansys: Make sdtr_period_tbl a pointer

It's somewhat neater to make this a pointer to one of two tables
than initialising an array in the driver.  Also delete the unused
AscSynIndexToPeriod and rename host_init_sdtr_index to min_sdtr_index

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c