summaryrefslogtreecommitdiff
path: root/decoders/sdcard_sd
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-05-03 21:00:57 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-05-06 22:10:46 +0200
commit3fa675b4c6500bb0cad1c3bbd891f7ec08ead099 (patch)
tree1f0462d1814bf59c6c1909504618f2c73d03cfac /decoders/sdcard_sd
parent67791ed18aa007402674ac528d97c812821fde0d (diff)
downloadlibsigrokdecode-3fa675b4c6500bb0cad1c3bbd891f7ec08ead099.tar.gz
libsigrokdecode-3fa675b4c6500bb0cad1c3bbd891f7ec08ead099.zip
sdcard_sd: remove unused functions
putr2 is unused, so let it go. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'decoders/sdcard_sd')
-rw-r--r--decoders/sdcard_sd/pd.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/decoders/sdcard_sd/pd.py b/decoders/sdcard_sd/pd.py
index 835a544..7e486fe 100644
--- a/decoders/sdcard_sd/pd.py
+++ b/decoders/sdcard_sd/pd.py
@@ -76,9 +76,6 @@ class Decoder(srd.Decoder):
def putt(self, data):
self.put(self.token[0][0], self.token[47][1], self.out_ann, data)
- def putt2(self, data):
- self.put(self.token[47][0], self.token[0][1], self.out_ann, data)
-
def putf(self, s, e, data):
self.put(self.token[s][0], self.token[e][1], self.out_ann, data)
@@ -93,9 +90,6 @@ class Decoder(srd.Decoder):
def putr(self, cmd, desc):
self.putt([cmd, ['Reply: %s' % desc]])
- def putr2(self, cmd, desc):
- self.putt2([cmd, ['Reply: %s' % desc]])
-
def reset(self):
self.cmd, self.arg = None, None
self.token, self.state = [], 'GET COMMAND TOKEN'