diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2025-03-19 10:51:53 +0000 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-04-08 22:46:49 +0200 |
commit | 13b5a9e4ca16fd45d395cbfcb78a0551fe17e56e (patch) | |
tree | d53afdeb82a533f44a824de4ee350c7ab003d7ba /tools/perf/scripts/python/gecko.py | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
power: supply: rk817: remove redundant null check on node
The pointer null is being null checked immediately after it has
been assigned at the start of the function and not changed afterwards.
The subsequent null check on node is redudant and can be removed.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20250319105153.775155-1-colin.i.king@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions