diff options
author | Menglong Dong <dong.menglong@zte.com.cn> | 2020-11-06 07:42:40 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 01:42:34 +0100 |
commit | cffb8f6177bbfc235e7054a4bb321b126b64205c (patch) | |
tree | cc07ca5bc603c358567095f912194a3019d1c178 /fs/char_dev.c | |
parent | bridge: mrp: Use hlist_head instead of list_head for mrp (diff) | |
download | linux-cffb8f6177bbfc235e7054a4bb321b126b64205c.tar.xz linux-cffb8f6177bbfc235e7054a4bb321b126b64205c.zip |
net: udp: remove redundant initialization in udp_send_skb
The initialization for 'err' with 0 is redundant and can be removed,
as it is updated by ip_send_skb and not used before that.
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Link: https://lore.kernel.org/r/1604644960-48378-4-git-send-email-dong.menglong@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions