diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index d1444b95ad7e527c8c0f3e00b906567d5043ba21..9c5074528a710811f90b4d082d5ff3c758a300f0 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -257,7 +257,7 @@ static struct inet6_dev *ip6_mc_find_dev_rcu(struct net *net,
 		return NULL;
 	idev = __in6_dev_get(dev);
 	if (!idev)
-		return NULL;;
+		return NULL;
 	read_lock_bh(&idev->lock);
 	if (idev->dead) {
 		read_unlock_bh(&idev->lock);