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

From: Inaky Perez-Gonzalez <[email-masked]>
Date: Tue, 2 Dec 2008 18:06:39 -0800

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