chip-repl: Remove stal comment and validation (#32347)
diff --git a/src/controller/python/chip/clusters/command.cpp b/src/controller/python/chip/clusters/command.cpp
index 4174830..d65766b 100644
--- a/src/controller/python/chip/clusters/command.cpp
+++ b/src/controller/python/chip/clusters/command.cpp
@@ -283,9 +283,6 @@
}
SuccessOrExit(err = sender->TestOnlyFinishCommand(finishCommandParams));
- // CommandSender provides us with the CommandReference for this associated command. In order to match responses
- // we have to add CommandRef to index lookup.
- VerifyOrExit(finishCommandParams.commandRef.HasValue(), err = CHIP_ERROR_INVALID_ARGUMENT);
if (testOnlyCommandRefsOverride != nullptr)
{
// Making sure the value we used to override CommandRef was actually used.