projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rk: revert 20f3d0b+v3.0.66 to v3.0
[firefly-linux-kernel-4.4.55.git]
/
net
/
sched
/
sch_mqprio.c
diff --git
a/net/sched/sch_mqprio.c
b/net/sched/sch_mqprio.c
index 59b26b8ff4b0bd8f89d87ce99f9a114b96240408..ea17cbed29eff7215c062efe04c32de6bf513596 100644
(file)
--- a/
net/sched/sch_mqprio.c
+++ b/
net/sched/sch_mqprio.c
@@
-106,7
+106,7
@@
static int mqprio_init(struct Qdisc *sch, struct nlattr *opt)
if (!netif_is_multiqueue(dev))
return -EOPNOTSUPP;
- if (
!opt ||
nla_len(opt) < sizeof(*qopt))
+ if (nla_len(opt) < sizeof(*qopt))
return -EINVAL;
qopt = nla_data(opt);