staging: ft1000: Remove unused variable DSPResetNum.
authorMarek Belisko <marek.belisko@open-nandra.com>
Fri, 29 Apr 2011 05:41:08 +0000 (07:41 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:01:26 +0000 (12:01 -0700)
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>
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
drivers/staging/ft1000/ft1000-usb/ft1000_usb.h

index 5d853829651510f5cd3fb15c2f93841bd5b5d373..b4b4f1d23ce179907496ffa7cae9ae9f551bae31 100644 (file)
@@ -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);
 
index 55ba1adc3a10c9b4d3b11c617a4ba3053dc8a051..ee47d4c18af2846b61d9b8d99f8452cc38aeec6f 100644 (file)
@@ -497,7 +497,6 @@ struct ft1000_info {
     u16 DrvErrNum;
     u16 AsicID;
     int DspAsicReset;
-    int DSPResetNum;
     int DeviceCreated;
     int CardReady;
     int NetDevRegDone;