diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-08-05 19:55:14 -0500 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-21 14:36:01 +0530 |
commit | 3a0be1a65b50126b525d222bb59719eecda7ee3e (patch) | |
tree | 3b9dd385de1330595109934087bc02b772061896 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e0279b6b5522f86680a9e16a12dbb2e40b1e2698 (diff) |
soundwire: stream: remove unnecessary variable initializations
A number of variables don't need to be initialized.
In a couple of cases where we loop on a list of runtimes, the code
handling of the 'bus' variable leads to warnings that it may not be
initialized. Add a specific error case to trap such cases.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190806005522.22642-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions