diff options
author | Nikolay Borisov <nik.borisov@suse.com> | 2024-02-22 13:16:35 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-02-22 12:23:04 +0100 |
commit | 427e1646f1ef6c714a5bade30ca0302edc5d46a0 (patch) | |
tree | 814ea31b6955a17180257dd117438bd7ace01fdd /rust/alloc | |
parent | b401b621758e46812da61fa58a67c3fd8d91de0d (diff) |
x86/insn: Remove superfluous checks from instruction decoding routines
It's pointless checking if a particular part of an instruction is
decoded before calling the routine responsible for decoding it as this
check is duplicated in the routines itself. Streamline the code by
removing the superfluous checks. No functional difference.
Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240222111636.2214523-2-nik.borisov@suse.com
Diffstat (limited to 'rust/alloc')
0 files changed, 0 insertions, 0 deletions