ieee802154: Fixes warning for unused variable
This commit is contained in:
parent
fce023b146
commit
6e680bb967
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue