diff options
author | Yunjian Wang <wangyunjian@huawei.com> | 2021-01-05 14:31:34 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-01-05 16:52:02 -0800 |
commit | 89430ef34c5b13f916acd1f1f86f1106f4d958c9 (patch) | |
tree | 8f25abcec3ef2438f055ea9be803dae0597b096a /lib/test_xarray.c | |
parent | 81a4362016e7d8b17031fe1aa43cdb58a7f0f163 (diff) | |
download | linux-89430ef34c5b13f916acd1f1f86f1106f4d958c9.tar.gz |
macvlan: remove redundant null check on data
Because macvlan_common_newlink() and macvlan_changelink() already
checked NULL data parameter, so the additional check is unnecessary,
just remove it.
Fixes: 79cf79abce71 ("macvlan: add source mode")
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions