Skip to content

Commit

Permalink
staging: ft1000: Remove unused variable ASICResetNum.
Browse files Browse the repository at this point in the history
Removed because was only assigned and not used on other places.

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 8cfff92 commit 8016a34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ static void ft1000_reset_asic(struct net_device *dev)

DEBUG("ft1000_hw:ft1000_reset_asic called\n");

info->ASICResetNum++;

/* Let's use the register provided by the Magnemite ASIC to reset the
* ASIC and DSP.
*/
Expand Down Expand Up @@ -748,7 +746,6 @@ int init_ft1000_netdev(struct ft1000_device *ft1000dev)
spin_lock_init(&pInfo->dpram_lock);
pInfo->pFt1000Dev = ft1000dev;
pInfo->DrvErrNum = 0;
pInfo->ASICResetNum = 0;
pInfo->registered = 1;
pInfo->ft1000_reset = ft1000_reset;
pInfo->mediastate = 0;
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 @@ -496,7 +496,6 @@ struct ft1000_info {
bool fAppMsgPend;
u16 DrvErrNum;
u16 AsicID;
int ASICResetNum;
int DspAsicReset;
int DSPResetNum;
int DeviceCreated;
Expand Down

0 comments on commit 8016a34

Please sign in to comment.