Skip to content

Commit db2cad2

Browse files
Wei YongjunStefan Richter
authored andcommitted
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>
1 parent 9d23734 commit db2cad2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/firewire/net.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
828828
{
829829
struct fwnet_device *dev;
830830
struct fw_iso_packet packet;
831-
struct fw_card *card;
832831
__be16 *hdr_ptr;
833832
__be32 *buf_ptr;
834833
int retval;
@@ -840,7 +839,6 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
840839
unsigned long flags;
841840

842841
dev = data;
843-
card = dev->card;
844842
hdr_ptr = header;
845843
length = be16_to_cpup(hdr_ptr);
846844

0 commit comments

Comments
 (0)