]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Use __maybe_unused instead of #ifdefs around variable declarations
authorAlexandre Ghiti <alex@ghiti.fr>
Fri, 23 Jul 2021 13:01:26 +0000 (15:01 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 12 Aug 2021 05:41:31 +0000 (22:41 -0700)
commit51614591c84de6cb91a2a5d826396b075d54bc3a
tree36b1d4369fa861553d17a6f7a13569442dfdbb0c
parent0799f0a4a2c9427ffb9f42d0129ac1a357131cb9
riscv: Use __maybe_unused instead of #ifdefs around variable declarations

This allows to simplify the code and make it more readable.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/init.c