[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/2] hw: Replace some impossible checks by assertions
From: |
Richard Henderson |
Subject: |
Re: [PATCH v2 0/2] hw: Replace some impossible checks by assertions |
Date: |
Fri, 11 Sep 2020 16:35:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 9/10/20 12:23 AM, Philippe Mathieu-Daudé wrote:
> 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(-)
>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~