diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-11-07 11:46:56 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-02 22:26:37 +0530 |
commit | 0f31c0912286f84b34b15e39b286db8f4765ced8 (patch) | |
tree | e8502403b3381ee906d7d1da801f1633b018579f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bf9b0834552e615b1dbd3015c2f0ed2a3bdf62a4 (diff) |
dmaengine: xilinx: xdma: remove redundant check on ret
The variable ret is being checked for an error and returning ret
and the following statement returns ret too. The if check is
redundant, and remove it. Just return the value returned from
the call to regmap_write.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20241107114656.17611-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions