commit | 985538eee06f169bb13c7ecb1a7fcdeb700b05c7 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed May 03 14:50:40 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu May 04 11:01:30 2017 -0400 |
tree | e00e4fffd31e0e771f02175fbb844ffbbb84ce6d | |
parent | 8b485ce69876c65db12ed390e7f9c0d2a64eff2c [diff] |
net/sched: remove redundant null check on head head is previously null checked and so the 2nd null check on head is redundant and therefore can be removed. Detected by CoverityScan, CID#1399505 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>