net: sched: move TC_H_MAJ macro call into tcf_auto_prio
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 May 2017 09:07:58 +0000 (11:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 19:22:13 +0000 (15:22 -0400)
commit7961973a0087824fdc9d0303b0033ab79b557278
tree44b543f8bd9e759cb5ff2ce586ec8d1b91eb2083
parent9d36d9e545dce53c6fff046b277c261d6568c5b9
net: sched: move TC_H_MAJ macro call into tcf_auto_prio

Call the helper from the function rather than to always adjust the
return value of the function.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c