riscv: remove volatile from set_gd prototype
authorRasmus Villemoes <ravi@prevas.dk>
Wed, 4 Jun 2025 19:56:12 +0000 (21:56 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 13 Jun 2025 22:57:15 +0000 (16:57 -0600)
commitae86cd8c59fe08c9a37d14dbd6e42190dda2a0d4
tree98797d4e49c72e4069ce5de02d88e1bda674aec5
parentce55643546a59c05d6c4b181c2b490b6db7ba1f5
riscv: remove volatile from set_gd prototype

It's slightly ironic that riscv at very first had the gd pointer
volatile qualified [6020faf62c3 ("riscv: nx25: include: Add header
files to support RISC-V")], removed that back in 2018
[40717eb849c ("riscv: checkpatch: Fix use of volatile")], and then in
2020 this helper was added [6b9966e1aa3 ("riscv: define function
set_gd()")] which needlessly had volatile in the prototype.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
arch/riscv/include/asm/global_data.h