From b19aafc76dccc01fe05b7dd7ae94b81a7f5e42da Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Mon, 27 Apr 2020 01:01:55 +0800 Subject: [PATCH] [mac] fix warning in mac_types.hpp (#4889) --- src/core/mac/mac_types.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/mac/mac_types.hpp b/src/core/mac/mac_types.hpp index 2d3e6a0a5..f38828ea0 100644 --- a/src/core/mac/mac_types.hpp +++ b/src/core/mac/mac_types.hpp @@ -73,8 +73,6 @@ typedef otPanId PanId; */ typedef otShortAddress ShortAddress; -#if !OPENTHREAD_RADIO - /** * This function generates a random IEEE 802.15.4 PAN ID. * @@ -83,8 +81,6 @@ typedef otShortAddress ShortAddress; */ PanId GenerateRandomPanId(void); -#endif - /** * This structure represents an IEEE 802.15.4 Extended Address. *