summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-12-16 17:32:11 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-01-30 22:22:22 +0100
commit4b11ea96a08a0f97a16edba55a615354c6d846b5 (patch)
tree110366f1241ae8cc023653d1e9b0cd2cf0a3f900 /drivers
parentb7811da2d94d8e1f77015ec9afa4575ddc9981a4 (diff)
downloadlinux-4b11ea96a08a0f97a16edba55a615354c6d846b5.tar.bz2
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/fw-sbp2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 8281ad94bd8c..e5a2571a3671 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