From: Stefan Richter Date: Sun, 16 Dec 2007 16:32:11 +0000 (+0100) Subject: firewire: fw-sbp2: remove unused misleading macro X-Git-Tag: v2.6.25-rc1~1133^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4b11ea96a08a0f97a16edba55a615354c6d846b5;p=linux-2.6-omap-h63xx.git firewire: fw-sbp2: remove unused misleading macro 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 --- diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 8281ad94bd8..e5a2571a367 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c @@ -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