commit | 2ed9db3074fcd8d12709fe40ff0e691d74229818 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Wed Jul 25 09:07:24 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 26 14:09:27 2018 -0700 |
tree | 519927ea3830d1843893362ba802c5754e90b190 | |
parent | 2b139e6b1ec86e1d3646039965dd79ad05d8dca4 [diff] |
net: sched: cls_api: fix dead code in switch Code at line 1850 is unreachable. Fix this by removing the break statement above it, so the code for case RTM_GETCHAIN can be properly executed. Addresses-Coverity-ID: 1472050 ("Structurally dead code") Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>