diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2011-04-29 07:41:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-03 12:01:26 -0700 |
commit | 3d20634100d9ae74d38dac70d012f2e7af4e7558 (patch) | |
tree | acfe959bef27013782f9cd02e3421c42047f450a /drivers/staging/ft1000 | |
parent | 8016a34d95f281ad6497978a21124236a7eaa6cf (diff) |
staging: ft1000: Remove unused variable DSPResetNum.
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>
Diffstat (limited to 'drivers/staging/ft1000')
-rw-r--r-- | drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 2 | ||||
-rw-r--r-- | drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c index 5d8538296515..b4b4f1d23ce1 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c @@ -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); diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 55ba1adc3a10..ee47d4c18af2 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h @@ -497,7 +497,6 @@ struct ft1000_info { u16 DrvErrNum; u16 AsicID; int DspAsicReset; - int DSPResetNum; int DeviceCreated; int CardReady; int NetDevRegDone; |