On Mon, 2014-11-24 at 16:58 +0000, David Howells wrote: 
> Mimi Zohar <[email protected]> wrote:
> 
> Mimi Zohar <[email protected]> wrote:
> 
> > +        if (id) {
> > +           lookup = id->data;
> > +           len = id->len;
> > +   }
> >     if (!lookup) {
> 
> The last line here can then just be replaced by an else-clause.

I would assume so, but the original code looked like "id->data" could
have been null.

Mimi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to