On Fri, May 10, 2013 at 12:09:11AM +0800, Marek Lindner wrote:
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.
oh, ok, will send v2 with the patches in the other order.
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara