From e228150a0e8d60ef3fcaa6f077305a8e6045dfe8 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 28 Aug 2014 21:38:39 +0200 Subject: sdcard_spi/usb_packet: Drop unused variables. --- decoders/sdcard_spi/pd.py | 1 - decoders/usb_packet/pd.py | 1 - 2 files changed, 2 deletions(-) (limited to 'decoders') diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index cbf59d7..6717c81 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -98,7 +98,6 @@ class Decoder(srd.Decoder): def __init__(self, **kwargs): self.state = 'IDLE' - self.samplenum = 0 self.ss, self.es = 0, 0 self.bit_ss, self.bit_es = 0, 0 self.cmd_ss, self.cmd_es = 0, 0 diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py index 1bbf580..a9c8b25 100644 --- a/decoders/usb_packet/pd.py +++ b/decoders/usb_packet/pd.py @@ -192,7 +192,6 @@ class Decoder(srd.Decoder): ) def __init__(self): - self.samplenum = 0 self.bits = [] self.packet = [] self.packet_summary = '' -- cgit v1.2.3-70-g09d2