diff options
author | Artem Bityutskiy <[email protected]> | 2012-10-26 16:11:26 +0300 |
---|---|---|
committer | Artem Bityutskiy <[email protected]> | 2012-10-26 16:29:46 +0300 |
commit | d125a753425b9de3c251df519e521024c79c663d (patch) | |
tree | 546946ccc49f6ca8ddb6af51a35d1bf205d09267 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 6a059abdbae7b6b35ddc69f6336f7afc1ce79bac (diff) |
UBI: do not allocate the memory unnecessarily
UBI reserves an LEB sized buffer for various needs. We can use this buffer
while scanning, instead of allocating another one. This patch was originally
created by Jan Luebbe <[email protected]>, but then he dropped it and I picked
up and tweaked a little bit.
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions