From: Kashyap, Desai Date: Tue, 4 Jan 2011 06:09:20 +0000 (+0530) Subject: [SCSI] mpt2sas: Basic Code Cleanup in mpt2sas_base X-Git-Tag: v2.6.39-rc1~440^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bd3491c8c30b98f642cab4361ff1a43955ccd4;p=pandora-kernel.git [SCSI] mpt2sas: Basic Code Cleanup in mpt2sas_base Basic Code Cleanup: (1) _base_get_cb_idx and mpt2sas_base_free_smid were reorganized in similar fashion so the order of obtaining the cbx and smid are scsiio, hi_priority, and internal. (2) The hi_priority and internal request queue struct was made smaller by removing the scmd and chain_tracker, thus saving memory allocation. (3) For scsiio request, a new structure was created having the same elements from the former request tracker struct. Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed