staging: rtl8723au: Remove unused entries from struct dvobj_priv
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:35 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:19 +0000 (10:16 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
drivers/staging/rtl8723au/include/drv_types.h

index 934f18dbd94158723576617d56492fbdcc863922..5660834a7dd8b63550eb6278222935fc8b7f553b 100644 (file)
@@ -2042,7 +2042,6 @@ static void _ResetDigitalProcedure1_92C(struct rtw_adapter *padapter,
                    are trying to enter IPS/HW&SW radio off. For
                    S3/S4/S5/Disable, we can stop 8051 because */
                /*  we will init FW when power on again. */
-               /* if (!pDevice->RegUsbSS) */
                /*  If we want to SS mode, we can not reset 8051. */
                if (rtw_read8(padapter, REG_MCUFWDL) & BIT1) {
                        /* IF fw in RAM code, do reset */
index c2c192410aa58d10c12f6be80bed08c7c9b826f1..ec8d60b9b24911e4e6f12ce7a3cd2749e867b7c2 100644 (file)
@@ -186,8 +186,6 @@ struct dvobj_priv {
        int     RtOutPipe[3];
        u8      Queue2Pipe[HW_QUEUE_ENTRY];/* for out pipe mapping */
 
-       u8      irq_alloc;
-
 /*-------- below is for USB INTERFACE --------*/
 
        u8      nr_endpoint;
@@ -196,8 +194,6 @@ struct dvobj_priv {
        u8      RtNumOutPipes;
        int     ep_num[5]; /* endpoint number */
 
-       int     RegUsbSS;
-
        struct semaphore usb_suspend_sema;
 
        struct mutex  usb_vendor_req_mutex;