diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2024-01-05 07:56:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-07 16:16:19 +0100 |
commit | c4a5ee9c09aa11f394b57674f525085034f5f68b (patch) | |
tree | 0c6f8971669b4ff8c445d7c575f5c1a154ada62d /drivers/net/phy/at803x.c | |
parent | net/sched: simplify tc_action_load_ops parameters (diff) | |
download | linux-c4a5ee9c09aa11f394b57674f525085034f5f68b.tar.xz linux-c4a5ee9c09aa11f394b57674f525085034f5f68b.zip |
fib: rules: remove repeated assignment in fib_nl2rule
In fib_nl2rule(), 'err' variable has been set to -EINVAL during
declaration, and no need to set the 'err' variable to -EINVAL again.
So, remove it.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/at803x.c')
0 files changed, 0 insertions, 0 deletions