]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Use a less ugly workaround for unused variable warnings
authorPalmer Dabbelt <palmer@sifive.com>
Tue, 28 Aug 2018 16:37:16 +0000 (09:37 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 28 Aug 2018 19:58:36 +0000 (12:58 -0700)
commit6a092b60a350e3cc08acd33af5d888c70320cb6e
treeca38c2a9ebcfe536e51fcea23628834fb86fac8f
parent00b699f5b7c1048371a8df5c57a2b81a1de1d6a4
RISC-V: Use a less ugly workaround for unused variable warnings

Thanks to Christoph Hellwig for pointing out a cleaner way to do this,
as my approach was quite ugly.

CC: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/sys_riscv.c