aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-12-03 08:11:17 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2012-12-03 08:45:54 -0500
commitdb2cad2f55078e90f84960b84b721291efa83d36 (patch)
tree9d8ffbf5ef27de0a100b22b884c36b078e15877d /drivers/firewire
parent9d2373420900a39f5212a3b289331aa3535b1000 (diff)
firewire: net: remove unused variable in fwnet_receive_broadcast()
The variable card is initialized but never used otherwise, so remove the unused variable. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index 638e1f71284a..e7a711f53a6f 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -828,7 +828,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
828{ 828{
829 struct fwnet_device *dev; 829 struct fwnet_device *dev;
830 struct fw_iso_packet packet; 830 struct fw_iso_packet packet;
831 struct fw_card *card;
832 __be16 *hdr_ptr; 831 __be16 *hdr_ptr;
833 __be32 *buf_ptr; 832 __be32 *buf_ptr;
834 int retval; 833 int retval;
@@ -840,7 +839,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
840 unsigned long flags; 839 unsigned long flags;
841 840
842 dev = data; 841 dev = data;
843 card = dev->card;
844 hdr_ptr = header; 842 hdr_ptr = header;
845 length = be16_to_cpup(hdr_ptr); 843 length = be16_to_cpup(hdr_ptr);
846 844