]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
firewire: fw-sbp2: remove unused misleading macro
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 16 Dec 2007 16:32:11 +0000 (17:32 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 30 Jan 2008 21:22:22 +0000 (22:22 +0100)
SBP2_MAX_SECTORS is nowhere used in fw-sbp2.
It merely got copied over from sbp2 where it played a role in the past.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-sbp2.c

index 8281ad94bd8ca68462ba76615cf5d750029be18d..e5a2571a3671f00b585b537ae65aa297ed9108a0 100644 (file)
@@ -151,9 +151,7 @@ struct sbp2_target {
 };
 
 #define SBP2_MAX_SG_ELEMENT_LENGTH     0xf000
-#define SBP2_MAX_SECTORS               255     /* Max sectors supported */
 #define SBP2_ORB_TIMEOUT               2000    /* Timeout in ms */
-
 #define SBP2_ORB_NULL                  0x80000000
 
 #define SBP2_DIRECTION_TO_MEDIA                0x0