diff --git a/cluster/router/utils/bitmap_util.go b/cluster/router/utils/bitmap_util.go
index b34ecf89333b8468f6203c2b35dea1d29863b48e..8b4ee5538f339276fb4c41ceefe4df3575723f15 100644
--- a/cluster/router/utils/bitmap_util.go
+++ b/cluster/router/utils/bitmap_util.go
@@ -39,9 +39,8 @@ func FallbackIfJoinToEmpty(left *roaring.Bitmap, right *roaring.Bitmap) *roaring
 	ret := JoinIfNotEqual(left, right)
 	if ret == nil || ret.IsEmpty() {
 		return right
-	} else {
-		return ret
 	}
+	return ret
 }
 
 func ToBitmap(invokers []protocol.Invoker) *roaring.Bitmap {