On Thursday, May 09, 2013 22:28:06 Antonio Quartulli wrote:
--- a/main.h +++ b/main.h @@ -172,8 +172,6 @@ enum batadv_vlan_flags { BATADV_VLAN_HAS_TAG = BIT(15), };
-/* mask needed to extract the vlan ID (12bits) from a 16bits variable */ -#define BATADV_VID_MASK 0x0FFF #define BATADV_PRINT_VID(vid) (vid & BATADV_VLAN_HAS_TAG ? \ (int)(vid & BATADV_VID_MASK) : -1)
The last user should remove the define otherwise the code won't compile.
Cheers, Marek