diff options
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index bc95fab0b0ce..75cea8ea4cf3 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -399,7 +399,7 @@ static void set_operstate(struct net_device *dev, unsigned char transition) | |||
399 | operstate == IF_OPER_UNKNOWN) | 399 | operstate == IF_OPER_UNKNOWN) |
400 | operstate = IF_OPER_DORMANT; | 400 | operstate = IF_OPER_DORMANT; |
401 | break; | 401 | break; |
402 | }; | 402 | } |
403 | 403 | ||
404 | if (dev->operstate != operstate) { | 404 | if (dev->operstate != operstate) { |
405 | write_lock_bh(&dev_base_lock); | 405 | write_lock_bh(&dev_base_lock); |