On Wed, Apr 22, 2015 at 05:09:54PM +0800, roy.qing...@gmail.com wrote: > From: Li RongQing <roy.qing...@gmail.com> > > The walk from input is the list header, and marked as dead, and will > be skipped in loop. > > list_first_entry() can be used to return the true usable value from > walk if walk is not empty > > Signed-off-by: Li RongQing <roy.qing...@gmail.com>
Acked-by: Herbert Xu <herb...@gondor.apana.org.au> -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html