summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorNogah Frankel <nogahf@mellanox.com>2018-01-10 17:00:03 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-11 00:07:41 +0300
commitcba7158ff1600f4ca8d752f41046d97800d9508e (patch)
tree56dca9ce69bf6f63c08d2d787fb515dbe83a63d5 /scripts/patch-kernel
parentd56c89550bd0da43bfe9f91ade469ab3f233c62b (diff)
downloadlinux-cba7158ff1600f4ca8d752f41046d97800d9508e.tar.xz
mlxsw: spectrum: qdiscs: Unite all handle checks
Every qdisc op gets the qdisc handle ID as well as its location. Each one of them, beside replace, checks if the handle doesn't match the qdisc in the given location, and if so, it returns without running the actual op. Unite these checks to one comparison function and avoid sending the handle id to these ops. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Reviewed-by: Yuval Mintz <yuvalm@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions