ncr5380: Cleanup TAG_NEXT and TAG_NONE macros
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Nov 2014 05:11:53 +0000 (16:11 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:05 +0000 (09:11 +0100)
commit76f13b9321ec8f9550cd1557ed28ac6ae91e612c
treecb4066631e701617bc35131231469e2c8c343ccf
parent4d3d2a54f731aa25f66adcf934ba9a55ca8204d4
ncr5380: Cleanup TAG_NEXT and TAG_NONE macros

Both atari_NCR5380.c and sun3_NCR5380.c core drivers #undef TAG_NONE and
then redefine it. But the original definition is unused because NCR5380.c
lacks support for tagged queueing. So just define it once.

The TAG_NEXT macro only appears in the arguments to NCR5380_select() calls.
But that routine doesn't use its tag argument as the tag was already
assigned in NCR5380_main(). So remove the unused argument and the macro.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/NCR5380.c
drivers/scsi/NCR5380.h
drivers/scsi/atari_NCR5380.c
drivers/scsi/sun3_NCR5380.c