From: Andrew Vasquez Date: Thu, 31 Jan 2008 20:33:48 +0000 (-0800) Subject: [SCSI] qla2xxx: Cleanse memory allocation logic during probe. X-Git-Tag: v2.6.25-rc1~285^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e87110852d0bd331d50c3de686a7fc9626579d60;p=pandora-kernel.git [SCSI] qla2xxx: Cleanse memory allocation logic during probe. - Drop loop-till-allocated structure of code within qla2x00_mem_alloc(). - Properly unwind deallcations of memory during failures. - Drop qla2x00_allocate_sp_pool() and qla2x00_free_sp_pool() functions as their implementations can easily be collapsed into the callers. - Defer DMA pool allocation of SFP data until requested. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed