[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] hw: Replace some impossible checks by assertions
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/5] hw: Replace some impossible checks by assertions |
Date: |
Tue, 1 Sep 2020 12:40:38 +0200 |
Trivial patches removing unreachable code.
Philippe Mathieu-Daudé (5):
hw/gpio/max7310: Remove impossible check
hw/mips/fuloong2e: Convert pointless error message to an assert()
hw/ppc/ppc4xx_pci: Use ARRAY_SIZE() instead of magic value
hw/ppc/ppc4xx_pci: Replace pointless warning by assert()
hw/isa/isa-bus: Replace hw_error() by assert()
hw/gpio/max7310.c | 4 ----
hw/isa/isa-bus.c | 9 ++-------
hw/mips/fuloong2e.c | 5 +----
hw/ppc/ppc4xx_pci.c | 8 +++-----
4 files changed, 6 insertions(+), 20 deletions(-)
--
2.26.2
- [PATCH 0/5] hw: Replace some impossible checks by assertions,
Philippe Mathieu-Daudé <=