aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2019-08-23 00:15:12 +0300
committerMark Brown <[email protected]>2019-08-23 12:01:29 +0100
commit1eaeba70738e723be1e5787bdfd9a30f7471d730 (patch)
tree9c6341b92ccfbf85da177d8ac96140969c3ccb51 /tools/perf/scripts/python/export-to-postgresql.py
parent37b4100180641968056cb4e034cebc38338e8652 (diff)
spi: spi-fsl-dspi: Remove impossible to reach error check
dspi->devtype_data is under the total control of the driver. Therefore, a bad value is a driver bug and checking it at runtime (and during an ISR, at that!) is pointless. The second "else if" check is only for clarity (instead of a broader "else") in case other transfer modes are added in the future. But the printing is dead code and can be removed. Signed-off-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions