dengziming commented on code in PR #12075:
URL: https://github.com/apache/kafka/pull/12075#discussion_r854990032


##########
metadata/src/main/java/org/apache/kafka/controller/ClusterControlManager.java:
##########
@@ -334,11 +334,7 @@ public ControllerResult<BrokerRegistrationReply> 
registerBroker(
                 setMaxSupportedVersion(feature.maxSupportedVersion()));
         }
 
-        if (existing == null) {

Review Comment:
   nit: If existing is not used here, we can remove `existing = null` at line 
305



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to