]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
UBI: Fastmap: Remove is_fm_block()
authorRichard Weinberger <richard@nod.at>
Fri, 7 Nov 2014 12:35:41 +0000 (13:35 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:47:38 +0000 (22:47 +0100)
commit56794c0a1ae738cb4184ab27501e4d152b0b2771
treed702c6fd6e672a4d6e48f0e20269af1312e7f4c0
parent1841fcfd910b4e841de40e1f6bc3dad6109a4054
UBI: Fastmap: Remove is_fm_block()

This function was added to fastmap in a very early stage
to have paranoid assertions.
With the current fastmap implementation this assert will never
trigger as fastmap PEBs are not seen by the WL sub-system.
Remove it to save us some CPU cycles.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/fastmap-wl.c
drivers/mtd/ubi/wl.c
drivers/mtd/ubi/wl.h