[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100818.142738.48517986.davem@davemloft.net>
Date: Wed, 18 Aug 2010 14:27:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: hadi@...erus.ca, kaber@...sh.net, jarkao2@...il.com,
eric.dumazet@...il.com, shemminger@...tta.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] net/sched: remove unneeded NULL check
From: Dan Carpenter <error27@...il.com>
Date: Sat, 14 Aug 2010 23:09:49 +0200
> There is no need to check "s". nla_data() doesn't return NULL. Also we
> already dereferenced "s" at this point so it would have oopsed ealier if
> it were NULL.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists