Commit f649fa8d authored by Matt Domsch's avatar Matt Domsch

megaraid: cleanups so it builds again

parent c59c9f34
...@@ -4123,7 +4123,6 @@ mega_partsize(struct block_device *bdev, sector_t capacity, int *geom) ...@@ -4123,7 +4123,6 @@ mega_partsize(struct block_device *bdev, sector_t capacity, int *geom)
struct partition *p, *largest = NULL; struct partition *p, *largest = NULL;
int i, largest_cyl; int i, largest_cyl;
int heads, cyls, sectors; int heads, cyls, sectors;
int capacity = capacity;
unsigned char *buf; unsigned char *buf;
if (!(buf = scsi_bios_ptable(bdev))) if (!(buf = scsi_bios_ptable(bdev)))
......
...@@ -214,8 +214,6 @@ ...@@ -214,8 +214,6 @@
info: megaraid_info, /* Driver Info Function */\ info: megaraid_info, /* Driver Info Function */\
command: megaraid_command, /* Command Function */\ command: megaraid_command, /* Command Function */\
queuecommand: megaraid_queue, /* Queue Command Function */\ queuecommand: megaraid_queue, /* Queue Command Function */\
abort: megaraid_abort, /* Abort Command Function */\
reset: megaraid_reset, /* Reset Command Function */\
bios_param: megaraid_biosparam, /* Disk BIOS Parameters */\ bios_param: megaraid_biosparam, /* Disk BIOS Parameters */\
can_queue: MAX_COMMANDS, /* Can Queue */\ can_queue: MAX_COMMANDS, /* Can Queue */\
this_id: 7, /* HBA Target ID */\ this_id: 7, /* HBA Target ID */\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment