]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
firewire: core: remove unused variable
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 14 Jun 2010 23:22:45 +0000 (01:22 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 19 Jun 2010 11:01:41 +0000 (13:01 +0200)
commitae86e81e434072be28ff4e9c1be3cc2562be8749
treef73b99c0fa7d96cc94e2ae6110bcc9d5855a02f7
parent5030c807907ae90ad21e9220c1a9d592558deba2
firewire: core: remove unused variable

which caused gcc 4.6 to warn about
    variable 'destination' set but not used.

Since the hardware ensures that we receive only response packets with
proper destination node ID (in a given bus generation), we have no use
for destination here in the core as well as in upper layers.

(This is different with request packets.  There we pass destination node
ID to upper layers because they may for example need to check whether
this was an unicast or broadcast request.)

Reported-and-Tested-By: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-transaction.c