[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH 01/11] hw/net: removed obsolete c
From: |
Alex Bennée |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH 01/11] hw/net: removed obsolete comments |
Date: |
Tue, 09 May 2017 08:27:47 +0100 |
User-agent: |
mu4e 0.9.19; emacs 25.2.17 |
Philippe Mathieu-Daudé <address@hidden> writes:
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/net/pcnet-pci.c | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/hw/net/pcnet-pci.c b/hw/net/pcnet-pci.c
> index 0acf8a4879..bdb533436e 100644
> --- a/hw/net/pcnet-pci.c
> +++ b/hw/net/pcnet-pci.c
> @@ -38,14 +38,6 @@
>
> #include "pcnet.h"
>
> -//#define PCNET_DEBUG
> -//#define PCNET_DEBUG_IO
> -//#define PCNET_DEBUG_BCR
> -//#define PCNET_DEBUG_CSR
> -//#define PCNET_DEBUG_RMD
> -//#define PCNET_DEBUG_TMD
> -//#define PCNET_DEBUG_MATCH
> -
I guess - although I notice there are some #if 0's in the file that
could be converted to proper non-bitrotting debug prints or removed as well.
> #define TYPE_PCI_PCNET "pcnet"
>
> #define PCI_PCNET(obj) \
> @@ -239,8 +231,6 @@ static const VMStateDescription vmstate_pci_pcnet = {
> }
> };
>
> -/* PCI interface */
> -
Was this intentional?
> static const MemoryRegionOps pcnet_mmio_ops = {
> .old_mmio = {
> .read = { pcnet_mmio_readb, pcnet_mmio_readw, pcnet_mmio_readl },
--
Alex Bennée
[Qemu-trivial] [PATCH 01/11] hw/net: removed obsolete comments, Philippe Mathieu-Daudé, 2017/05/08
- Re: [Qemu-trivial] [Qemu-devel] [PATCH 01/11] hw/net: removed obsolete comments,
Alex Bennée <=
[Qemu-trivial] [PATCH 05/11] hw/mips: add missing include, Philippe Mathieu-Daudé, 2017/05/08
[Qemu-trivial] [PATCH 06/11] hw/arm: removed unnecessary include, Philippe Mathieu-Daudé, 2017/05/08
[Qemu-trivial] [PATCH 04/11] ide/ahci: add missing includes, Philippe Mathieu-Daudé, 2017/05/08
[Qemu-trivial] [PATCH 08/11] hw/sparc: use ARRAY_SIZE() macro, Philippe Mathieu-Daudé, 2017/05/08