diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2024-06-25 15:07:40 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-07-02 07:52:43 +0200 |
commit | 50c527b9ef58086dc377a0fa5e3053d16fc5728e (patch) | |
tree | d6a8658b9bce8f78fff72662abd50799dbe5162f /scripts/qapi/parser.py | |
parent | 5c065dfc71b84179a9aec2d283bb57b5a5675b0b (diff) | |
download | qemu-50c527b9ef58086dc377a0fa5e3053d16fc5728e.zip qemu-50c527b9ef58086dc377a0fa5e3053d16fc5728e.tar.gz qemu-50c527b9ef58086dc377a0fa5e3053d16fc5728e.tar.bz2 |
aspeed/sdmc: Remove extra R_MAIN_STATUS case
Coverity reports that the newly added 'case R_MAIN_STATUS' is DEADCODE
because it can not be reached. This is because R_MAIN_STATUS is handled
before in the "Unprotected registers" switch statement. Remove it.
Fixes: Coverity CID 1547112
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
[ clg: Rewrote commit log ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions