diff options
| author | Jessica Clarke <[email protected]> | 2025-07-10 00:29:30 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-07-22 15:54:27 +0530 |
| commit | cc546e1a06930c5ebaf6e90a9a28dca4218f1954 (patch) | |
| tree | 1bf06129baebb617946a632abc9d89d72dcaf918 | |
| parent | 079bf6f0f93d01c8be3429d9a8a867ef84501557 (diff) | |
include: sbi: Remove unused (LOG_)REGBYTES
These are no longer used, so remove them.
Signed-off-by: Jessica Clarke <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
| -rw-r--r-- | include/sbi/riscv_encoding.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index f4df1ae4..40a854e3 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -1317,13 +1317,6 @@ #define INSN_LEN(insn) (INSN_IS_16BIT(insn) ? 2 : 4) -#if __riscv_xlen == 64 -#define LOG_REGBYTES 3 -#else -#define LOG_REGBYTES 2 -#endif -#define REGBYTES (1 << LOG_REGBYTES) - #define SH_VSEW 3 #define SH_VIEW 12 #define SH_VD 7 |
