diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-07-19 13:46:43 -0500 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:52:30 +0200 |
commit | 6b4d96b878d67c6768766e682c188a2a8bdc804a (patch) | |
tree | c879de9d10eb2b28e0d3f7382057206035a51734 /lib/locking-selftest-rlock-hardirq.h | |
parent | f70dba83669bf718c2f1731f0f58b8149e883593 (diff) | |
download | linux-6b4d96b878d67c6768766e682c188a2a8bdc804a.tar.gz linux-6b4d96b878d67c6768766e682c188a2a8bdc804a.tar.bz2 linux-6b4d96b878d67c6768766e682c188a2a8bdc804a.zip |
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 <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions