]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
firewire: core: remove obsolete comment
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 18 Feb 2012 18:53:39 +0000 (19:53 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 22 Feb 2012 21:36:00 +0000 (22:36 +0100)
Target-like applications or peer-to-peer-like applications require the
global address handler registration which we have right now, or a per-
card registration.  And node lookup, while it would be nice to have,
would be impossible in the brief time between self-ID-complete event and
completion of firewire-core's topology scanning.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-transaction.c

index 426886a91bd121a857789225980a6157a7b58646..89e310ba03ba0f0eba8c116c31f3e84b5c48f2e1 100644 (file)
@@ -840,14 +840,6 @@ static void handle_exclusive_region_request(struct fw_card *card,
                                                   offset, request->length);
        spin_unlock_irqrestore(&address_handler_lock, flags);
 
-       /*
-        * FIXME: lookup the fw_node corresponding to the sender of
-        * this request and pass that to the address handler instead
-        * of the node ID.  We may also want to move the address
-        * allocations to fw_node so we only do this callback if the
-        * upper layers registered it for this node.
-        */
-
        if (handler == NULL)
                fw_send_response(card, request, RCODE_ADDRESS_ERROR);
        else