summaryrefslogtreecommitdiff
path: root/decoders/spi.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-10 22:12:46 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-10 22:12:46 +0100
commitd0e93c76e381eff58ca23949301f781b24ba4a8b (patch)
tree5b08a8a016bb28e1b91096444bd26168d4c83c79 /decoders/spi.py
parent677d597b072c0a1d2df81c5c193cd3678aef8d03 (diff)
downloadlibsigrokdecode-d0e93c76e381eff58ca23949301f781b24ba4a8b.tar.gz
libsigrokdecode-d0e93c76e381eff58ca23949301f781b24ba4a8b.zip
srd: Drop useless out_ann/out_proto init.
If those variables are used before start() was called, that's a bug anyway.
Diffstat (limited to 'decoders/spi.py')
-rw-r--r--decoders/spi.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/decoders/spi.py b/decoders/spi.py
index 5529025..9d3940e 100644
--- a/decoders/spi.py
+++ b/decoders/spi.py
@@ -42,8 +42,6 @@ class Decoder(srd.Decoder):
self.rxcount = 0
self.rxdata = 0
self.bytesreceived = 0
- self.out_proto = None
- self.out_ann = None
def start(self, metadata):
# self.out_proto = self.add(srd.SRD_OUTPUT_PROTO, 'spi')