ieee802154: Fixes warning for unused variable

This commit is contained in:
Anthony Merlino 2017-07-10 19:45:29 -04:00
parent fce023b146
commit 6e680bb967
1 changed files with 1 additions and 3 deletions

View File

@ -74,14 +74,12 @@
int mac802154_ioctl(MACHANDLE mac, int cmd, unsigned long arg)
{
FAR struct ieee802154_privmac_s *priv =
(FAR struct ieee802154_privmac_s *)mac;
int ret = -EINVAL;
FAR union ieee802154_macarg_u *macarg =
(FAR union ieee802154_macarg_u *)((uintptr_t)arg);
DEBUGASSERT(priv != NULL);
DEBUGASSERT(mac != NULL);
/* Check for IOCTLs aimed at the IEEE802.15.4 MAC layer */