staging: wlan-ng: remove unused definitions from p80211types.h

Remove the following unused definitions from p80211types.h:

* struct p80211enum
* struct p80211enumpair
* struct catlistitem declaration and associated function pointer
  typedefs (along with preceding block comment)

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tim Collier 2018-08-03 08:44:37 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель ae3b4ed1a2
Коммит a13bb977bc
1 изменённых файлов: 0 добавлений и 27 удалений

Просмотреть файл

@ -193,20 +193,6 @@
P80211DID_MASK_ACCESS, \
P80211DID_LSB_ACCESS)
/*----------------------------------------------------------------*/
/* The following structure types are used for the representation */
/* of ENUMint type metadata. */
struct p80211enumpair {
u32 val;
char *name;
};
struct p80211enum {
int nitems;
struct p80211enumpair *list;
};
/*----------------------------------------------------------------*/
/* The following structure types are used to store data items in */
/* messages. */
@ -330,17 +316,4 @@ struct p80211item_unk4096 {
u8 data[4096];
} __packed;
struct catlistitem;
/*----------------------------------------------------------------*/
/* The following structure type is used to represent all of the */
/* metadata items. Some components may choose to use more, */
/* less or different metadata items. */
typedef void (*p80211_totext_t) (struct catlistitem *, u32 did, u8 *itembuf,
char *textbuf);
typedef void (*p80211_fromtext_t) (struct catlistitem *, u32 did, u8 *itembuf,
char *textbuf);
typedef u32(*p80211_valid_t) (struct catlistitem *, u32 did, u8 *itembuf);
#endif /* _P80211TYPES_H */