summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/host.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-22 13:30:55 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 20:48:39 (GMT)
commit8ec97cc803e1d52022e916074415acaec276288c (patch)
tree911a0c21873162726e23942a175d1cc2f990e5d9 /drivers/net/wireless/libertas/host.h
parentb856f73b39ca6b619e6e8d088141aec3ff62852c (diff)
downloadlinux-fsl-qoriq-8ec97cc803e1d52022e916074415acaec276288c.tar.xz
libertas: remove "struct cmd_ds_gen"
It was only used as a source for S_DS_GEN, but the size of this struct is equal to the size of "struct cmd_header". Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/host.h')
-rw-r--r--drivers/net/wireless/libertas/host.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h
index c600f67..3809c0b 100644
--- a/drivers/net/wireless/libertas/host.h
+++ b/drivers/net/wireless/libertas/host.h
@@ -389,19 +389,6 @@ struct lbs_offset_value {
u32 value;
} __attribute__ ((packed));
-/* Define general data structure */
-/* cmd_DS_GEN */
-struct cmd_ds_gen {
- __le16 command;
- __le16 size;
- __le16 seqnum;
- __le16 result;
- void *cmdresp[0];
-} __attribute__ ((packed));
-
-#define S_DS_GEN sizeof(struct cmd_ds_gen)
-
-
/*
* Define data structure for CMD_GET_HW_SPEC
* This structure defines the response for the GET_HW_SPEC command