cec: Replace unneeded decode_opcode().
[libsigrokdecode.git] / decoders / cec / protocoldata.py
index fb8049480a4151cd23d76abf4c2e968266b8623e..833ac7f5e9f4fe2a5b4451bfb343eb5254a89488 100644 (file)
@@ -115,9 +115,3 @@ def decode_header(header):
     src = (header & 0xF0) >> 4
     dst = (header & 0x0F)
     return (resolve_logical_address(src, 1), resolve_logical_address(dst, 0))
-
-def decode_opcode(opcode):
-    if opcode in opcodes:
-        return opcodes[opcode]
-    else:
-        return 'Invalid'