net/sched: remove unneeded NULL check
authorDan Carpenter <error27@gmail.com>
Sat, 14 Aug 2010 11:09:49 +0000 (11:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 21:24:51 +0000 (14:24 -0700)
commit00093fab980d0a8950a64bdf9e346d0497b9a7e4
tree4f222456af157773cbf32f9f06ea0169fbcf929e
parent666be4298bd8f9508b32833b17a686dde630f2a5
net/sched: remove unneeded NULL check

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c