Commit 9160955a authored by Bjoern A. Zeeb's avatar Bjoern A. Zeeb Committed by Luca Coelho

iwlwifi: do not use __unused as variable name

On various systems __unused is a define to __attribute__((__unused__))
and yields compile errors as a result. Use __spare instead to describe
that these bits are "unused".

Sponsored by:  The FreeBSD Foundation
Signed-off-by: default avatarBjoern A. Zeeb <bz@FreeBSD.ORG>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent ff167639
...@@ -580,7 +580,7 @@ struct iwl_rb_status { ...@@ -580,7 +580,7 @@ struct iwl_rb_status {
__le16 closed_fr_num; __le16 closed_fr_num;
__le16 finished_rb_num; __le16 finished_rb_num;
__le16 finished_fr_nam; __le16 finished_fr_nam;
__le32 __unused; __le32 __spare;
} __packed; } __packed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment