mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
ieee802154: Blocks out template code that is not complete to avoid warnings
This commit is contained in:
@@ -73,7 +73,9 @@
|
||||
int mac802154_req_disassociate(MACHANDLE mac,
|
||||
FAR struct ieee802154_disassoc_req_s *req)
|
||||
{
|
||||
#if 0
|
||||
FAR struct ieee802154_privmac_s *priv =
|
||||
(FAR struct ieee802154_privmac_s *)mac;
|
||||
#endif
|
||||
return -ENOTTY;
|
||||
}
|
||||
@@ -66,7 +66,9 @@
|
||||
|
||||
int mac802154_req_gts(MACHANDLE mac, FAR struct ieee802154_gts_req_s *req)
|
||||
{
|
||||
#if 0
|
||||
FAR struct ieee802154_privmac_s *priv =
|
||||
(FAR struct ieee802154_privmac_s *)mac;
|
||||
#endif
|
||||
return -ENOTTY;
|
||||
}
|
||||
@@ -65,7 +65,9 @@
|
||||
int mac802154_resp_orphan(MACHANDLE mac,
|
||||
FAR struct ieee802154_orphan_resp_s *resp)
|
||||
{
|
||||
#if 0
|
||||
FAR struct ieee802154_privmac_s *priv =
|
||||
(FAR struct ieee802154_privmac_s *)mac;
|
||||
#endif
|
||||
return -ENOTTY;
|
||||
}
|
||||
|
||||
@@ -71,8 +71,10 @@
|
||||
|
||||
int mac802154_req_sync(MACHANDLE mac, FAR struct ieee802154_sync_req_s *req)
|
||||
{
|
||||
#if 0
|
||||
FAR struct ieee802154_privmac_s *priv =
|
||||
(FAR struct ieee802154_privmac_s *)mac;
|
||||
#endif
|
||||
return -ENOTTY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user