OSDN Git Service

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)
commite1af005b1ce6d33c0467808ddceb09a8a1a424ba
treebc7fda874b020c05877c925321a30e67c30c7086
parentd4e7256007b0763614a41c9c0a5a943dc1095b22
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