From: Stephen M. Cameron Date: Mon, 19 Jul 2010 18:46:43 +0000 (-0500) Subject: cciss: separate cmd_alloc() and cmd_special_alloc() X-Git-Tag: v2.6.36-rc1~288^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b4d96b878d67c6768766e682c188a2a8bdc804a;p=pandora-kernel.git cciss: separate cmd_alloc() and cmd_special_alloc() cciss: separate cmd_alloc() and cmd_special_alloc() cmd_alloc() took a parameter which caused it to either allocate from a pre-allocated pool, or allocate using pci_alloc_consistent. This parameter is always known at compile time, so this would be better handled by breaking the function into two functions and differentiating the cases by function names. Same goes for cmd_free(). Signed-off-by: Stephen M. Cameron Signed-off-by: Jens Axboe --- Reading git-diff-tree failed