Re: [PATCH 08/39] wimax: Mappping of generic netlink family IDs to net devices

Inaky Perez-Gonzalez
2008-12-03T02:11:28Z

On Thursday 27 November 2008, Johannes Berg wrote:
> On Wed, 2008-11-26 at 15:07 -0800, Inaky Perez-Gonzalez wrote:

> > + }
> > + }
> > + d_printf(1, NULL, "wimax: no device associated to ID %d\n", id);
>
> remove debug statement (or make it depend on !wimax_dev)
>
> > + wimax_dev = NULL;
> > +out_unlock:
> > + spin_unlock(&wimax_id_table_lock);
> > + d_fnend(3, NULL, "(info %p) = %p\n", info, wimax_dev);
> > + return wimax_dev;
>
> No need for gotos any more :)

Duh ... sometimes the autopilot is not a good thing.

Fixed, thanks

--
Inaky