staging: rtl8723au: Remove write-only struct xmit_priv->vcs_type
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 10 Oct 2014 19:41:27 +0000 (21:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:30:14 +0000 (10:30 +0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/rtw_xmit.h
drivers/staging/rtl8723au/os_dep/os_intfs.c

index 32a844170327f246507838942d018f8945f19ff1..134ad6e500257a6c8211f4a408b6fb4bc76ed09b 100644 (file)
@@ -297,7 +297,6 @@ struct      xmit_priv {
 
        u8   vcs_setting;
        u8      vcs;
-       u8      vcs_type;
 
        u64     tx_bytes;
        u64     tx_pkts;
index b34eaec9dd48d9aaacc100ea27f5e473043b670e..19cb11bde2ce1e31b89b7d408ac7d39aa2b04f73 100644 (file)
@@ -389,7 +389,6 @@ static int rtw_init_default_value(struct rtw_adapter *padapter)
        /* xmit_priv */
        pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense;
        pxmitpriv->vcs = pregistrypriv->vcs_type;
-       pxmitpriv->vcs_type = pregistrypriv->vcs_type;
        /* pxmitpriv->rts_thresh = pregistrypriv->rts_thresh; */
        pxmitpriv->frag_len = pregistrypriv->frag_thresh;