aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorConor Dooley <[email protected]>2023-07-13 13:11:03 +0100
committerPalmer Dabbelt <[email protected]>2023-07-25 16:26:19 -0700
commit37f988dcec056532820fb7c3e9a8367fd19f6c1b (patch)
treedab886bdaaa744b0f3ea23836e02f5c0b7928c93 /net/lapb/lapb_subr.c
parent8135ade32c0db48e2e75b039b2c2454f722762de (diff)
RISC-V: repurpose riscv_isa_ext array in riscv_fill_hwcap()
In riscv_fill_hwcap() riscv_isa_ext array can be looped over, rather than duplicating the list of extensions with individual SET_ISA_EXT_MAP() usage. While at it, drop the statement-of-the-obvious comments from the struct, rename uprop to something more suitable for its new use & constify the members. Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/20230713-dastardly-affiliate-4cf819dccde2@wendy Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions