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

index 97a29268bb655692db606a17a58638af04a77eb4..5d853829651510f5cd3fb15c2f93841bd5b5d373 100644 (file)
@@ -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.
         */
@@ -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;
index 4111e5c3a0562428e651e54b84e9a8a1b816c97e..55ba1adc3a10c9b4d3b11c617a4ba3053dc8a051 100644 (file)
@@ -496,7 +496,6 @@ struct ft1000_info {
     bool fAppMsgPend;
     u16 DrvErrNum;
     u16 AsicID;
-    int ASICResetNum;
     int DspAsicReset;
     int DSPResetNum;
     int DeviceCreated;