Skip to content

Commit

Permalink
firewire: net: remove unused variable in fwnet_receive_broadcast()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Stefan Richter committed Dec 3, 2012
1 parent 9d23734 commit db2cad2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/firewire/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
{
struct fwnet_device *dev;
struct fw_iso_packet packet;
struct fw_card *card;
__be16 *hdr_ptr;
__be32 *buf_ptr;
int retval;
Expand All @@ -840,7 +839,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
unsigned long flags;

dev = data;
card = dev->card;
hdr_ptr = header;
length = be16_to_cpup(hdr_ptr);

Expand Down

0 comments on commit db2cad2

Please sign in to comment.