From: Matthew Wilcox Date: Sun, 29 Jul 2007 23:30:28 +0000 (-0600) Subject: [SCSI] advansys: Make advansys_board_found a little more readable X-Git-Tag: v2.6.24-rc1~1290^2~187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c16f586ee529e97ac63183e70e2bfd586a2f47;p=pandora-kernel.git [SCSI] advansys: Make advansys_board_found a little more readable - Put all the error cleanup at the end of the function and goto the appropriate label - Split advansys_wide_init_chip out of advansys_board_found - Split advansys_wide_free_mem out of advansys_board_found. Use it from advansys_release - Use GFP_KERNEL, not GFP_ATOMIC, when allocating memory during initialisation - Eliminate lots of PROC_FS ifdefs by removing the ifdefs around the prtbuf struct member Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed