diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-17 19:37:30 +0200 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-10-25 16:32:38 -0700 |
commit | e8f44c50dfe75315d1ff6efc837d62cbe7368c9b (patch) | |
tree | 86ed82465290ac756176af511f8f40180487979d /usr | |
parent | a6d9e2672609653146cd9f4063f3d30619828787 (diff) | |
download | linux-e8f44c50dfe75315d1ff6efc837d62cbe7368c9b.tar.bz2 |
riscv: cleanup do_trap_break
If we always compile the get_break_insn_length inline function we can
remove the ifdefs and let dead code elimination take care of the warn
branch that is now unreadable because the report_bug stub always
returns BUG_TRAP_TYPE_BUG.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions