Also remove the horizontal rule at the end of the macro definitions as it doesn't any add value, IMO. Signed-off-by: Finn Thain --- drivers/block/swim.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/block/swim.c b/drivers/block/swim.c index 444c3f31ba48..9661d8f7a5ed 100644 --- a/drivers/block/swim.c +++ b/drivers/block/swim.c @@ -130,25 +130,14 @@ struct iwm { /* Bits in handshake register */ -#define MARK_BYTE 0x01 -#define CRC_ZERO 0x02 -#define RDDATA 0x04 #define SENSE 0x08 -#define MOTEN 0x10 -#define ERROR 0x20 #define DAT2BYTE 0x40 #define DAT1BYTE 0x80 /* bits in setup register */ -#define S_INV_WDATA 0x01 -#define S_3_5_SELECT 0x02 -#define S_GCR 0x04 #define S_FCLK_DIV2 0x08 -#define S_ERROR_CORR 0x10 #define S_IBM_DRIVE 0x20 -#define S_GCR_WRITE 0x40 -#define S_TIMEOUT 0x80 /* bits in mode register */ @@ -157,12 +146,9 @@ struct iwm { #define ENBL2 0x04 #define ACTION 0x08 #define WRITE_MODE 0x10 -#define HEDSEL 0x20 #define ISM_SELECT 0x40 #define MOTON 0x80 -/*----------------------------------------------------------------------------*/ - enum drive_location { NO_DRIVE = 0, INTERNAL_DRIVE = BIT(1), -- 2.52.0