diff options
author | 2008-05-22 10:32:18 +0900 | |
---|---|---|
committer | 2008-07-24 13:32:54 +0300 | |
commit | cadb40ccc16a26a738f1cbc963e35b21edd93e79 (patch) | |
tree | acd1d5d02ecda07634f1c49432ddb39cd9f5d7fd /lib/bitmap.c | |
parent | UBI: fix buffer padding (diff) | |
download | linux-dev-cadb40ccc16a26a738f1cbc963e35b21edd93e79.tar.xz linux-dev-cadb40ccc16a26a738f1cbc963e35b21edd93e79.zip |
UBI: avoid unnecessary division operations
UBI already checks that @min io size is the power of 2 at io_init.
It is save to use bit operations then.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions