Skip to content

Commit

Permalink
staging: ft1000: Remove unused variable DSPResetNum.
Browse files Browse the repository at this point in the history
Removed because was only assigned and never used.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed May 3, 2011
1 parent 8016a34 commit 3d20634
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,6 @@ static int ft1000_reset_card(struct net_device *dev)
DEBUG("ft1000_hw:ft1000_reset_card: reset asic\n");
ft1000_reset_asic(dev);

info->DSPResetNum++;

DEBUG("ft1000_hw:ft1000_reset_card: call dsp_reload\n");
dsp_reload(ft1000dev);

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,6 @@ struct ft1000_info {
u16 DrvErrNum;
u16 AsicID;
int DspAsicReset;
int DSPResetNum;
int DeviceCreated;
int CardReady;
int NetDevRegDone;
Expand Down

0 comments on commit 3d20634

Please sign in to comment.