remove null effect assert

This commit is contained in:
Kurt Nistelberger
2022-10-12 18:55:35 -07:00
parent b332441803
commit 8809116a26
-1
View File
@@ -182,7 +182,6 @@ def main() -> NoReturn:
if opcode != DIAG_LOG_F:
cloudlog.error(f"Unhandled opcode: {opcode}")
continue
assert opcode == DIAG_LOG_F
(pending_msgs, log_outer_length), inner_log_packet = unpack_from('<BH', payload), payload[calcsize('<BH'):]
if pending_msgs > 0: