Hi Arend,

On Sat, 2014-11-08 at 14:33 +0100, Arend van Spriel wrote:
> On 11/07/14 20:37, Luca Coelho wrote:
> > On November 7, 2014 9:15:21 PM EET, Johannes 
> > Berg<johan...@sipsolutions.net>  wrote:
> >> On Fri, 2014-11-07 at 14:37 +0200, Luca Coelho wrote:
> >>
> >>>> +#if 0
> >>>> +        struct ieee80211_vendor_radiotap *rtap;
> >>>> +
> >>>> +        rtap = (void *)skb_push(skb, sizeof(*rtap) + 8 + 4);
> >>>> +        /*
> >>>> +         * Don't enable this code by default as the OUI 00:00:00
> >>>> +         * is registered to Xerox so we shouldn't use it here, it
> >>>> +         * might find its way into pcap files.
> >>>> +         * Note that this code requires the headroom in the SKB
> >>>> +         * that was allocated earlier.
> >>>> +         */
> >>
> >>> Is this #if 0'ed section here on purpose? If yes, maybe explain it in
> >>> the commit message?
> >>
> >> You're the second person to ask this, but come on ... really? :)
> >
> > Okay, I know I'm missing something. But i just hate #if 0s, especially when 
> > I don't easily understand the need for them.
> 
> You should read the comment block in the '#if 0' section. Maybe it helps :-p

Yeah, Johannes pointed out privately too.  I think I need glasses. :)

Anyway, I think it would be better to (at least) have the comment
*before* the if for increased visibility.

--
Cheers,
Luca.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to