]> err.no Git - linux-2.6/commitdiff
firewire: fw-sbp2: remove unused macro
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 21 Jan 2007 19:50:11 +0000 (20:50 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:42 +0000 (22:02 +0100)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
drivers/firewire/fw-sbp2.c

index 0b0dcc760585be408a11e58a5ad78e13b8964706..f5c46822b7d89c7d91f950ed27fd544983243adc 100644 (file)
@@ -64,7 +64,6 @@ struct sbp2_device {
 
 #define SBP2_MAX_SG_ELEMENT_LENGTH     0xf000
 #define SBP2_MAX_SECTORS               255     /* Max sectors supported */
-#define SBP2_MAX_CMDS                  8       /* This should be safe */
 
 #define SBP2_ORB_NULL                  0x80000000
 
@@ -1010,8 +1009,8 @@ static struct scsi_host_template scsi_driver_template = {
        .this_id                = -1,
        .sg_tablesize           = SG_ALL,
        .use_clustering         = ENABLE_CLUSTERING,
-       .cmd_per_lun            = 1,    /* SBP2_MAX_CMDS, */
-       .can_queue              = 1,            /* SBP2_MAX_CMDS, */
+       .cmd_per_lun            = 1,
+       .can_queue              = 1,
 };
 
 static int add_scsi_devices(struct fw_unit *unit)