commit | 419a38cecf14f137c84e76e5fc5b46cac48f34c9 | [log] [tgz] |
---|---|---|
author | Menglong Dong <dong.menglong@zte.com.cn> | Wed Nov 04 20:54:04 2020 -0500 |
committer | Jakub Kicinski <kuba@kernel.org> | Sat Nov 07 12:18:41 2020 -0800 |
tree | 123721174d7e73fe783afddd50c5cd4e0798faa6 | |
parent | ea8146c6845799142aa4ee2660741c215e340cdf [diff] |
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>