]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: r8188eu: remove some structures definitions from rtw_ioctl.h
authorIvan Safonov <insafonov@gmail.com>
Wed, 24 Aug 2016 08:23:40 +0000 (15:23 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 16:01:42 +0000 (18:01 +0200)
oid_funs_node and oid_obj_priv structures are not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_ioctl.h

index 3a652df4b26ce0603d83712a3d0e0eb35806be2d..a6b1c854a0612279deba31852e6c501a6cb12b0b 100644 (file)
@@ -69,15 +69,6 @@ enum oid_type {
        SET_OID
 };
 
-struct oid_funs_node {
-       unsigned int oid_start; /* the starting number for OID */
-       unsigned int oid_end; /* the ending number for OID */
-       struct oid_obj_priv *node_array;
-       unsigned int array_sz; /* the size of node_array */
-       int query_counter; /* count the number of query hits for this segment */
-       int set_counter; /* count the number of set hits for this segment */
-};
-
 struct oid_par_priv {
        void            *adapter_context;
        NDIS_OID        oid;
@@ -89,12 +80,6 @@ struct oid_par_priv {
        u32             dbg;
 };
 
-struct oid_obj_priv {
-       unsigned char   dbg; /*  0: without OID debug message
-                             *  1: with OID debug message */
-       int (*oidfuns)(struct oid_par_priv *poid_par_priv);
-};
-
 #if defined(_RTW_MP_IOCTL_C_)
 static int oid_null_function(struct oid_par_priv *poid_par_priv) {
        return NDIS_STATUS_SUCCESS;