aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mac802154/ieee802154_i.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-06-06 17:30:46 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-07 09:13:32 +0200
commited65963ba0a2bdc330b1d7183f930d1c6a0a6685 (patch)
tree2332a1dfb92be9c6dc71df7cfea6beaef83b790a /net/mac802154/ieee802154_i.h
parentBluetooth: Reorder HCI user channel socket release (diff)
downloadwireguard-linux-ed65963ba0a2bdc330b1d7183f930d1c6a0a6685.tar.xz
wireguard-linux-ed65963ba0a2bdc330b1d7183f930d1c6a0a6685.zip
mac802154: remove unneeded vif struct
This patch removes the virtual interface structure from sub if data struct, because it isn't used anywhere. This structure could be useful for give per interface information at softmac driver layer. Nevertheless there exist no use case currently and it contains the interface type information currently. This information is also stored inside wpan dev which is now used to check on the wpan dev interface type. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Varka Bhadram <varkabhadram@gmail.com> Acked-by: Varka Bhadram <varkabhadram@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/ieee802154_i.h')
-rw-r--r--net/mac802154/ieee802154_i.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index eec668f3637f..34755d5751a4 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -92,8 +92,6 @@ struct ieee802154_sub_if_data {
struct mutex sec_mtx;
struct mac802154_llsec sec;
- /* must be last, dynamically sized area in this! */
- struct ieee802154_vif vif;
};
#define MAC802154_CHAN_NONE 0xff /* No channel is assigned */