ide-cd: remove unused defines from ide-cd.h
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:18 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:18 +0000 (23:09 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.h

index 1b302fe2724d3d451f24278c61ecbab901792a9c..1e138c9278de613f7b68fd019a5f9ebf3d3f795d 100644 (file)
 #endif
 #define SECTORS_PER_FRAME      (CD_FRAMESIZE >> SECTOR_BITS)
 #define SECTOR_BUFFER_SIZE     (CD_FRAMESIZE * 32)
-#define SECTORS_BUFFER         (SECTOR_BUFFER_SIZE >> SECTOR_BITS)
-#define SECTORS_MAX            (131072 >> SECTOR_BITS)
-
-#define BLOCKS_PER_FRAME       (CD_FRAMESIZE / BLOCK_SIZE)
-
-/* special command codes for strategy routine. */
-#define PACKET_COMMAND        4315
-#define REQUEST_SENSE_COMMAND 4316
-#define RESET_DRIVE_COMMAND   4317
-
 
 /* Configuration flags.  These describe the capabilities of the drive.
    They generally do not change after initialization, unless we learn