summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2021-03-20 16:37:04 +0500
committerVladislav Grishenko <themiron@mail.ru>2021-03-20 16:37:04 +0500
commit79270852a48e2aecb15fddd70373f7012cce98b6 (patch)
treee855f5bb763a1351ac6ad3e111d3bf47a148318c /accel-pppd
parent09f73dab273989c6f36efe548c4b5e83d83b5416 (diff)
downloadaccel-ppp-79270852a48e2aecb15fddd70373f7012cce98b6.tar.gz
accel-ppp-79270852a48e2aecb15fddd70373f7012cce98b6.zip
shaper: drop redundant check
leftover after 09f73dab273989c6f36efe548c4b5e83d83b5416
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/shaper/leaf_qdisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/leaf_qdisc.c b/accel-pppd/shaper/leaf_qdisc.c
index 81d69e4e..c304ae6e 100644
--- a/accel-pppd/shaper/leaf_qdisc.c
+++ b/accel-pppd/shaper/leaf_qdisc.c
@@ -198,7 +198,7 @@ void leaf_qdisc_parse(const char *opt)
if (parse_sfq(params))
goto out_err;
#ifdef TCA_FQ_CODEL_MAX
- } else if (qdisc && strcmp(qdisc, "fq_codel") == 0) {
+ } else if (strcmp(qdisc, "fq_codel") == 0) {
if (parse_fq_codel(params))
goto out_err;
#endif