staging: ft1000: Remove unused variable.
authorMarek Belisko <marek.belisko@open-nandra.com>
Thu, 9 Dec 2010 10:26:49 +0000 (11:26 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:34:32 +0000 (16:34 -0800)
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_chdev.c
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
drivers/staging/ft1000/ft1000-usb/ft1000_usb.h

index 0871e43159c6a0fca9f0a2d6ef74f99d0fc701fa..4e5c8a3bc8887071c5f5e079a598b40f3a372bbe 100644 (file)
@@ -170,7 +170,6 @@ int ft1000_CreateDevice(struct ft1000_device *dev)
 
     // register the device
     DEBUG("ft1000_CreateDevice: \"%s\" device registration\n", info->DeviceName);
-    info->DeviceMajor = 0;
 
        tmp = kmalloc(sizeof(struct ft1000_debug_dirs), GFP_KERNEL);
        if (tmp == NULL) {
index 22536da750113978cd0a042e4bb7f153bd32b663..69f920fdc12aee8cc8436ae2cccabc46a8fc3483 100644 (file)
@@ -835,7 +835,6 @@ u16 init_ft1000_netdev(struct ft1000_device *ft1000dev)
     pInfo->mediastate = 0;
     pInfo->fifo_cnt = 0;
     pInfo->DeviceCreated = FALSE;
-    pInfo->DeviceMajor = 0;
     pInfo->CurrentInterruptEnableMask = ISR_DEFAULT_MASK;
     pInfo->InterruptsEnabled = FALSE;
     pInfo->CardReady = 0;
index 5bead63149859ed345d7f3e7176c9b9310cab99a..2c89d14807fb4acb5d41c4085c46354a34fca0fd 100644 (file)
@@ -514,7 +514,6 @@ struct ft1000_info {
     int NetDevRegDone;
     u8 CardNumber;
     u8 DeviceName[15];
-    int DeviceMajor;
     struct ft1000_debug_dirs nodes;
     int registered;
     int mediastate;