aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-cdev.c
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 /drivers/firewire/core-cdev.c
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 'drivers/firewire/core-cdev.c')
-rw-r--r--drivers/firewire/core-cdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c
index ca72cdaa68c9..4e0478d70d4d 100644
--- a/drivers/firewire/core-cdev.c
+++ b/drivers/firewire/core-cdev.c
@@ -632,8 +632,7 @@ static void release_request(struct client *client,
632 632
633static void handle_request(struct fw_card *card, struct fw_request *request, 633static void handle_request(struct fw_card *card, struct fw_request *request,
634 int tcode, int destination, int source, 634 int tcode, int destination, int source,
635 int generation, int speed, 635 int generation, unsigned long long offset,
636 unsigned long long offset,
637 void *payload, size_t length, void *callback_data) 636 void *payload, size_t length, void *callback_data)
638{ 637{
639 struct address_handler_resource *handler = callback_data; 638 struct address_handler_resource *handler = callback_data;