diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-07-29 09:43:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 11:24:07 +0200 |
commit | 451395f798a3f0a9f257338bc1fbce9a1d6eaf52 (patch) | |
tree | b2daa1bf597bed70ba37f39b6b00d9c9f7f6d37f /net/sched/act_skbedit.c | |
parent | Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff) | |
download | linux-451395f798a3f0a9f257338bc1fbce9a1d6eaf52.tar.xz linux-451395f798a3f0a9f257338bc1fbce9a1d6eaf52.zip |
niu: read property length only if we use it
In three places, the driver calls of_get_property and reads the property
length although the length is not used. Update the calls to not request
the length.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_skbedit.c')
0 files changed, 0 insertions, 0 deletions