From: Denys Vlasenko Date: Fri, 25 Oct 2019 11:41:31 +0000 (+0200) Subject: tc: array address is never NULL X-Git-Tag: 1_32_0~118 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b4ad1d86b62090fed831e074a3c154af43cd66ce;p=oweals%2Fbusybox.git tc: array address is never NULL Signed-off-by: Denys Vlasenko --- diff --git a/networking/tc.c b/networking/tc.c index 2e1078d31..510684443 100644 --- a/networking/tc.c +++ b/networking/tc.c @@ -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]);