summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2023-04-21 12:37:42 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-05-08 14:16:18 +0300
commite3be011e828037be60fc91fa2d1791f9ee612a46 (patch)
treec6912eb6fda3c5d96d3d06f812abe0fa451097ca /tools/perf/scripts/python/export-to-postgresql.py
parentac9a78681b921877518763ba0e89202254349d1b (diff)
downloadlinux-e3be011e828037be60fc91fa2d1791f9ee612a46.tar.xz
scsi: libsas: Simplify sas_check_eeds()
In sas_check_eeds() there is an empty branch. We can reverse the test expression and then remove the empty branch. Also the test expression is a little bit complex so it deserves an individual function. And make the continuing prototype lines indented after the opening parenthesis to follow the standard coding style. Signed-off-by: Jason Yan <yanaijie@huawei.com> Link: https://lore.kernel.org/r/20230421093744.1583609-2-yanaijie@huawei.com Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions