]> git.baikalelectronics.ru Git - kernel.git/commit
net: mpls: remove unnecessary initialization of err
authorDavid Ahern <dsahern@gmail.com>
Sat, 27 May 2017 22:19:33 +0000 (16:19 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 15:55:33 +0000 (11:55 -0400)
commit337b0b8585b8e076dc5d946dae93b3d930a7b66c
treebc7fda874b020c05877c925321a30e67c30c7086
parent58308220602343b8bfc341471a3524d6b444d361
net: mpls: remove unnecessary initialization of err

err is initialized to EINVAL and not used before it is set again.
Remove the unnecessary initialization.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c