Re: [PATCH 03/22] ncr5380: Remove REAL_DMA and REAL_DMA_POLL macros

From: Hannes Reinecke
Date: Mon Mar 14 2016 - 03:24:07 EST


On 03/14/2016 05:27 AM, Finn Thain wrote:
> For the NCR5380.c core driver, these macros are never used.
> If REAL_DMA were to be defined, compilation would fail.
>
> For the atari_NCR5380.c core driver, REAL_DMA is always defined.
>
> Hence these macros are pointless.
>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
>
> ---
> drivers/scsi/NCR5380.c | 218 +------------------------------------------
> drivers/scsi/NCR5380.h | 112 ----------------------
> drivers/scsi/atari_NCR5380.c | 62 +-----------
> drivers/scsi/atari_scsi.c | 32 ------
> drivers/scsi/sun3_scsi.c | 13 --
> 5 files changed, 22 insertions(+), 415 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)