summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/fastmap-wl.c
Commit message (Collapse)AuthorAgeFilesLines
* UBI: Fastmap: Remove is_fm_block()Richard Weinberger2015-03-261-19/+0
| | | | | | | | | | 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>
* UBI: Fastmap: Add blank line after declarationsRichard Weinberger2015-03-261-0/+1
| | | | | | | Another checkpatch complaint: WARNING: Missing a blank line after declarations Signed-off-by: Richard Weinberger <richard@nod.at>
* UBI: Fastmap: Remove else after return.Richard Weinberger2015-03-261-3/+3
| | | | | | | checkpatch.pl complains: WARNING: else is not generally useful after a break or return Signed-off-by: Richard Weinberger <richard@nod.at>
* UBI: Fastmap: Introduce may_reserve_for_fm()Richard Weinberger2015-03-261-0/+19
| | | | | | ...and kill another #ifdef. Signed-off-by: Richard Weinberger <richard@nod.at>
* UBI: Move fastmap specific functions out of wl.cRichard Weinberger2015-03-261-0/+361
Fastmap is tightly connected to the WL sub-system, many fastmap-specific functionslive in wl.c. To get rid of most #ifdefs in wl.c move this functions into a new file and include it into wl.c Signed-off-by: Richard Weinberger <richard@nod.at>
OpenPOWER on IntegriCloud