diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-05-02 16:30:30 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-05-06 21:48:46 +0200 |
commit | 20700171929316ed88fdd11b3099518a0bd2f36e (patch) | |
tree | 9fa87aa15c7afc017a9e3142fdc164a24eab8699 /net/strparser/Kconfig | |
parent | 1fca1f6abb38a6c2a082c1df01601d0898454d7a (diff) | |
download | linux-stable-20700171929316ed88fdd11b3099518a0bd2f36e.tar.gz linux-stable-20700171929316ed88fdd11b3099518a0bd2f36e.tar.bz2 linux-stable-20700171929316ed88fdd11b3099518a0bd2f36e.zip |
mtd: afs: simplify partition detection
Instead of reading out the AFS footers twice, create a separate
function to just check if there is a footer or not. Rids a few
local variables and prepare us to join the actual parser into
one function.
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'net/strparser/Kconfig')
0 files changed, 0 insertions, 0 deletions