projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7811da
)
firewire: fw-sbp2: remove unused misleading macro
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 16 Dec 2007 16:32:11 +0000
(17:32 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-sbp2.c
b/drivers/firewire/fw-sbp2.c
index
8281ad9
..
e5a2571
100644
(file)
--- 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