diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 01:02:13 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-18 16:48:56 +0200 |
commit | 4ccebbd355fb53177dcc46476a5e5105f4859410 (patch) | |
tree | 26f57cf8291e22d64212c17daa4fa39b9e6583f5 /decoders/ssi32/pd.py | |
parent | ec31b9821dbfad0283a56c6d2b5e7d819c59ba51 (diff) | |
download | libsigrokdecode-4ccebbd355fb53177dcc46476a5e5105f4859410.tar.gz libsigrokdecode-4ccebbd355fb53177dcc46476a5e5105f4859410.zip |
Simplify code by dropping session_is_valid().
A simple NULL check is sufficient here, max_session_id is being
properly handled by srd_init(), srd_exit(), srd_session_new().
This might also have a small performance benefit.
Diffstat (limited to 'decoders/ssi32/pd.py')
0 files changed, 0 insertions, 0 deletions