Skip to content

hw: Replace some impossible checks by assertions

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-trivial 2 versions – Applied

Status from this message: Applied to my trivial-patches branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v15 patches 16 repliesApplied

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2hw/gpio/max7310: Remove impossible checkhw/gpio/max7310.c+1 -41 reply
2/2hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definitionhw/ppc/ppc4xx_pci.c+1 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid GibsonRichard Henderson
SeriesR-b
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] hw: Replace some impossible checks by assertions

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(-)
Signature · 1 line
2.26.2