diff options
author | Menglong Dong <dong.menglong@zte.com.cn> | 2020-11-05 02:54:04 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-07 21:18:41 +0100 |
commit | 419a38cecf14f137c84e76e5fc5b46cac48f34c9 (patch) | |
tree | 123721174d7e73fe783afddd50c5cd4e0798faa6 /fs | |
parent | cxgb4: Fix the -Wmisleading-indentation warning (diff) | |
download | linux-419a38cecf14f137c84e76e5fc5b46cac48f34c9.tar.xz linux-419a38cecf14f137c84e76e5fc5b46cac48f34c9.zip |
net: macvlan: remove redundant initialization in macvlan_dev_netpoll_setup
The initialization for err with 0 seems useless, as it is soon updated
with -ENOMEM. So, we can remove it.
Changes since v1:
-Keep -ENOMEM still.
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Link: https://lore.kernel.org/r/1604541244-3241-1-git-send-email-dong.menglong@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions