From: Wolfram Sang Date: Wed, 3 May 2017 19:00:57 +0000 (+0200) Subject: sdcard_sd: remove unused functions X-Git-Tag: libsigrokdecode-0.5.0~29 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3fa675b4c6500bb0cad1c3bbd891f7ec08ead099;p=libsigrokdecode.git sdcard_sd: remove unused functions putr2 is unused, so let it go. Signed-off-by: Wolfram Sang --- 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'