mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2025-02-12 15:08:23 +00:00
tc: array address is never NULL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
e076162897
commit
b4ad1d86b6
@ -215,8 +215,6 @@ static int prio_print_opt(struct rtattr *opt)
|
||||
if (opt == NULL)
|
||||
return 0;
|
||||
parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, sizeof(*qopt));
|
||||
if (tb == NULL)
|
||||
return 0;
|
||||
printf("bands %u priomap ", qopt->bands);
|
||||
for (i=0; i<=TC_PRIO_MAX; i++)
|
||||
printf(" %d", qopt->priomap[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user