qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hw: Replace some impossible checks by assertions
@ 2020-09-10  7:23 Philippe Mathieu-Daudé
  2020-09-10  7:23 ` [PATCH v2 1/2] hw/gpio/max7310: Remove impossible check Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-10  7:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, qemu-trivial, Philippe Mathieu-Daudé,
	qemu-arm, qemu-ppc, David Gibson

Trivial patches removing unreachable code.

Since v1:
- dropped patches queued
- replace dead code by assert (Peter)
- use PCI_NUM_PINS definition (Cédric)

Philippe Mathieu-Daudé (2):
  hw/gpio/max7310: Remove impossible check
  hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definition

 hw/gpio/max7310.c   | 5 +----
 hw/ppc/ppc4xx_pci.c | 2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-09-16  8:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-10  7:23 [PATCH v2 0/2] hw: Replace some impossible checks by assertions Philippe Mathieu-Daudé
2020-09-10  7:23 ` [PATCH v2 1/2] hw/gpio/max7310: Remove impossible check Philippe Mathieu-Daudé
2020-09-16  8:45   ` Laurent Vivier
2020-09-10  7:23 ` [PATCH v2 2/2] hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definition Philippe Mathieu-Daudé
2020-09-10  7:43   ` David Gibson
2020-09-16  8:45   ` Laurent Vivier
2020-09-11 23:35 ` [PATCH v2 0/2] hw: Replace some impossible checks by assertions Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).