Commit db2cad2f authored by Wei Yongjun's avatar Wei Yongjun Committed by Stefan Richter

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 9d237342
...@@ -828,7 +828,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context, ...@@ -828,7 +828,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
{ {
struct fwnet_device *dev; struct fwnet_device *dev;
struct fw_iso_packet packet; struct fw_iso_packet packet;
struct fw_card *card;
__be16 *hdr_ptr; __be16 *hdr_ptr;
__be32 *buf_ptr; __be32 *buf_ptr;
int retval; int retval;
...@@ -840,7 +839,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context, ...@@ -840,7 +839,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
unsigned long flags; unsigned long flags;
dev = data; dev = data;
card = dev->card;
hdr_ptr = header; hdr_ptr = header;
length = be16_to_cpup(hdr_ptr); length = be16_to_cpup(hdr_ptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment