summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorChengyang Fan <cy.fan@huawei.com>2021-01-25 19:23:47 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-02-18 23:18:03 -0800
commit3449831d92fea50b470d5b22435cfeaf15a6dd54 (patch)
tree1945156a9114e3e97aaf0ff37deaf2d6a7bcfeef /arch/riscv
parent5dd671333171d1ba44c16e1404f72788412e36f4 (diff)
downloadlinux-stable-3449831d92fea50b470d5b22435cfeaf15a6dd54.tar.gz
linux-stable-3449831d92fea50b470d5b22435cfeaf15a6dd54.tar.bz2
linux-stable-3449831d92fea50b470d5b22435cfeaf15a6dd54.zip
RISC-V: remove unneeded semicolon
Remove a superfluous semicolon after function definition. Signed-off-by: Chengyang Fan <cy.fan@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/include/asm/set_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/set_memory.h b/arch/riscv/include/asm/set_memory.h
index 211eb8244a45..9fa510707012 100644
--- a/arch/riscv/include/asm/set_memory.h
+++ b/arch/riscv/include/asm/set_memory.h
@@ -22,7 +22,7 @@ static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; }
static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; }
static inline int set_memory_x(unsigned long addr, int numpages) { return 0; }
static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; }
-static inline void protect_kernel_text_data(void) {};
+static inline void protect_kernel_text_data(void) {}
static inline int set_memory_rw_nx(unsigned long addr, int numpages) { return 0; }
#endif