aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/net.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/net.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/net.c')
-rw-r--r--drivers/firewire/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index 2d3dc7ded0a9..4bb3fb882f63 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -805,8 +805,8 @@ static int fwnet_incoming_packet(struct fwnet_device *dev, __be32 *buf, int len,
805 805
806static void fwnet_receive_packet(struct fw_card *card, struct fw_request *r, 806static void fwnet_receive_packet(struct fw_card *card, struct fw_request *r,
807 int tcode, int destination, int source, int generation, 807 int tcode, int destination, int source, int generation,
808 int speed, unsigned long long offset, void *payload, 808 unsigned long long offset, void *payload, size_t length,
809 size_t length, void *callback_data) 809 void *callback_data)
810{ 810{
811 struct fwnet_device *dev = callback_data; 811 struct fwnet_device *dev = callback_data;
812 int rcode; 812 int rcode;