]> git.baikalelectronics.ru Git - kernel.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)
commit94eed7f3e3c63d77ac3af505a6a4c0e9e8523ff2
treef73b99c0fa7d96cc94e2ae6110bcc9d5855a02f7
parent7594eb35c1e7acc3cb1b05fd7e85b10cec167c8a
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