[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [Qemu-ahci-devel] [PATCH] ahci: drop board_ahci constan
From: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: [Qemu-ahci-devel] [PATCH] ahci: drop board_ahci constants |
Date: |
Mon, 31 May 2010 22:13:59 +0200 |
On 31.05.2010, at 22:12, Sebastian Herbszt wrote:
> Drop not used board_ahci constants.
>
> Signed-off-by: Sebastian Herbszt <address@hidden>
>
> diff --git a/hw/ahci.c b/hw/ahci.c
> index 3476cea..4090def 100644
> --- a/hw/ahci.c
> +++ b/hw/ahci.c
> @@ -65,12 +65,6 @@ do { fprintf(stderr,"ahci: " fmt , ## __VA_ARGS__); }
> while (0)
> #define RX_FIS_SDB 0x58 /* offset of SDB FIS data */
> #define RX_FIS_UNK 0x60 /* offset of Unknown FIS data */
>
> -#define board_ahci 0
> -#define board_ahci_pi 1
> -#define board_ahci_vt8251 2
> -#define board_ahci_ign_iferr 3
> -#define board_ahci_sb600 4
> -
They weren't used before? Why are they there at all then?
Alex