firmware: simplify CONFIG_FW_LOADER_USER_HELPER_FALLBACK further
authorLuis R. Rodriguez <mcgrof@kernel.org>
Sat, 10 Mar 2018 14:14:46 +0000 (06:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Mar 2018 08:28:46 +0000 (09:28 +0100)
commitb2e9a8553cebcb414753e0185ce6fa87e14ebf30
tree61d1c02bdc98760be68f5cf618cb9c56d2e7f054
parent8ddfb47294c0f45a476a92ecf1e56cb5990c5468
firmware: simplify CONFIG_FW_LOADER_USER_HELPER_FALLBACK further

All CONFIG_FW_LOADER_USER_HELPER_FALLBACK really is, is just a bool,
initailized at build time. Define it as such. This simplifies the
logic even further, removing now all explicit #ifdefs around the code.

Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_loader.c