diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-01-21 14:50:11 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:02:42 -0500 |
commit | 02af8e70cbe42833805d6f2f10fc1d43ce90da0d (patch) | |
tree | c5f8b4bbfb065421fde3a7310ec6e8ed9474fc25 /drivers/firewire/fw-sbp2.c | |
parent | 5fa1580d2d922171c5ef8da487054d056298a970 (diff) |
firewire: fw-sbp2: remove unused macro
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r-- | drivers/firewire/fw-sbp2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 0b0dcc760585..f5c46822b7d8 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c | |||
@@ -64,7 +64,6 @@ struct sbp2_device { | |||
64 | 64 | ||
65 | #define SBP2_MAX_SG_ELEMENT_LENGTH 0xf000 | 65 | #define SBP2_MAX_SG_ELEMENT_LENGTH 0xf000 |
66 | #define SBP2_MAX_SECTORS 255 /* Max sectors supported */ | 66 | #define SBP2_MAX_SECTORS 255 /* Max sectors supported */ |
67 | #define SBP2_MAX_CMDS 8 /* This should be safe */ | ||
68 | 67 | ||
69 | #define SBP2_ORB_NULL 0x80000000 | 68 | #define SBP2_ORB_NULL 0x80000000 |
70 | 69 | ||
@@ -1010,8 +1009,8 @@ static struct scsi_host_template scsi_driver_template = { | |||
1010 | .this_id = -1, | 1009 | .this_id = -1, |
1011 | .sg_tablesize = SG_ALL, | 1010 | .sg_tablesize = SG_ALL, |
1012 | .use_clustering = ENABLE_CLUSTERING, | 1011 | .use_clustering = ENABLE_CLUSTERING, |
1013 | .cmd_per_lun = 1, /* SBP2_MAX_CMDS, */ | 1012 | .cmd_per_lun = 1, |
1014 | .can_queue = 1, /* SBP2_MAX_CMDS, */ | 1013 | .can_queue = 1, |
1015 | }; | 1014 | }; |
1016 | 1015 | ||
1017 | static int add_scsi_devices(struct fw_unit *unit) | 1016 | static int add_scsi_devices(struct fw_unit *unit) |