summaryrefslogtreecommitdiff
path: root/decoders/spi
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-05-18 01:02:13 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-05-18 16:48:56 +0200
commit4ccebbd355fb53177dcc46476a5e5105f4859410 (patch)
tree26f57cf8291e22d64212c17daa4fa39b9e6583f5 /decoders/spi
parentec31b9821dbfad0283a56c6d2b5e7d819c59ba51 (diff)
downloadlibsigrokdecode-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/spi')
0 files changed, 0 insertions, 0 deletions