aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/firewire.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-20 16:50:35 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-20 17:11:55 -0400
commit33e553fe2b4a983ef34a57ab1440d8d33397bb12 (patch)
tree3a7098a935f0b678a6e6a565619d0d990f9122f3 /include/linux/firewire.h
parent56d04cb189f955e5167c27944d61aa57ad69b598 (diff)
firewire: remove an unused function argument
void (*fw_address_callback_t)(..., int speed, ...) is the speed that a remote node chose to transmit a request to us. In case of split transactions, firewire-core will transmit the response at that speed. Upper layer drivers on the other hand (firewire-net, -sbp2, firedtv, and userspace drivers) cannot do anything useful with that speed datum, except log it for debug purposes. But data that is merely potentially (not even actually) used for debug purposes does not belong into the API. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'include/linux/firewire.h')
-rw-r--r--include/linux/firewire.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h
index 5553018d45d6..e44b502c8341 100644
--- a/include/linux/firewire.h
+++ b/include/linux/firewire.h
@@ -265,7 +265,7 @@ typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
265typedef void (*fw_address_callback_t)(struct fw_card *card, 265typedef void (*fw_address_callback_t)(struct fw_card *card,
266 struct fw_request *request, 266 struct fw_request *request,
267 int tcode, int destination, int source, 267 int tcode, int destination, int source,
268 int generation, int speed, 268 int generation,
269 unsigned long long offset, 269 unsigned long long offset,
270 void *data, size_t length, 270 void *data, size_t length,
271 void *callback_data); 271 void *callback_data);