diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/cls_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index befc06f658df..478095d50f95 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c | |||
@@ -238,10 +238,10 @@ static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, | |||
238 | tcf_proto_destroy(tp, rtnl_held, extack); | 238 | tcf_proto_destroy(tp, rtnl_held, extack); |
239 | } | 239 | } |
240 | 240 | ||
241 | static int walker_check_empty(struct tcf_proto *tp, void *d, | 241 | static int walker_check_empty(struct tcf_proto *tp, void *fh, |
242 | struct tcf_walker *arg) | 242 | struct tcf_walker *arg) |
243 | { | 243 | { |
244 | if (tp) { | 244 | if (fh) { |
245 | arg->nonempty = true; | 245 | arg->nonempty = true; |
246 | return -1; | 246 | return -1; |
247 | } | 247 | } |