MINOR: remove redudant return statement (#9535)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
dengziming 2020-11-02 13:21:52 +08:00 committed by GitHub
parent ee1aa07036
commit d7aaa7007c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -361,7 +361,6 @@ class GroupMetadataManager(brokerId: Int,
// compute the final error codes for the commit response
val commitStatus = offsetMetadata.map { case (k, _) => k -> Errors.OFFSET_METADATA_TOO_LARGE }
responseCallback(commitStatus)
None
} else {
getMagic(partitionFor(group.groupId)) match {
case Some(magicValue) =>
@ -477,7 +476,6 @@ class GroupMetadataManager(brokerId: Int,
(topicPartition, Errors.NOT_COORDINATOR)
}
responseCallback(commitStatus)
None
}
}
}