From 02af8e70cbe42833805d6f2f10fc1d43ce90da0d Mon Sep 17 00:00:00 2001 From: Stefan Richter Date: Sun, 21 Jan 2007 20:50:11 +0100 Subject: [PATCH] firewire: fw-sbp2: remove unused macro MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Richter Signed-off-by: Kristian Høgsberg --- drivers/firewire/fw-sbp2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 0b0dcc76058..f5c46822b7d 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c @@ -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) -- 2.41.0