]> err.no Git - linux-2.6/commitdiff
libata: kill unused constants
authorTejun Heo <htejun@gmail.com>
Mon, 19 May 2008 17:17:50 +0000 (02:17 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 4 Jun 2008 10:29:14 +0000 (06:29 -0400)
Kill a few unused constants.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
include/linux/libata.h

index 4a92fbafce9d40ba1476b559539467ae55931022..93e2b89d0c573d18f4d37aaa88806ac5f19d60c6 100644 (file)
@@ -111,13 +111,10 @@ enum {
        /* various global constants */
        LIBATA_MAX_PRD          = ATA_MAX_PRD / 2,
        LIBATA_DUMB_MAX_PRD     = ATA_MAX_PRD / 4,      /* Worst case */
-       ATA_MAX_PORTS           = 8,
        ATA_DEF_QUEUE           = 1,
        /* tag ATA_MAX_QUEUE - 1 is reserved for internal commands */
        ATA_MAX_QUEUE           = 32,
        ATA_TAG_INTERNAL        = ATA_MAX_QUEUE - 1,
-       ATA_MAX_BUS             = 2,
-       ATA_DEF_BUSY_WAIT       = 10000,
        ATA_SHORT_PAUSE         = (HZ >> 6) + 1,
 
        ATAPI_MAX_DRAIN         = 16 << 10,