From: Boaz Harrosh Date: Tue, 2 Oct 2007 21:11:24 +0000 (+0200) Subject: [SCSI] gdth: Remove gdth_ctr_tab[] X-Git-Tag: v2.6.24-rc1~1290^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884f7fba09646714f94d945162e698f0822a6fdd;p=pandora-kernel.git [SCSI] gdth: Remove gdth_ctr_tab[] - Places like Initialization and Reset that Just loop on all devices can use the link list with the list_for_each_entry macro. But the io_ctrl from user mode now suffers performance-wise because code has to do a sequential search for the requested host number. I have isolated this search in a gdth_find_ha(int hanum) member for future enhancement if needed. Signed-off-by Boaz Harrosh Signed-off-by: James Bottomley --- Reading git-diff-tree failed