diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2020-05-27 11:06:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-27 12:24:45 +0200 |
commit | a0dbe1b24c9b66102243ba8b49783f960edc8663 (patch) | |
tree | 6ac661c97271b75b6d68feacde676a7c927f5419 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1c538a417977ec102d47297e8c0f4619100f42c2 (diff) |
staging: most: usb: don't use expressions that might fail in a declaration
This patch moves function calls that can fail out of the declararion block
of a function body. This is done to enhance readability.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1590570387-27069-3-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions