diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-07-12 16:05:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-29 02:19:04 +0200 |
commit | f0aaae1a5827c916f2d66e4392726c0c43d0479c (patch) | |
tree | 028ff937b9cd34a46d453686690f79622cdeb2cc /drivers/regulator/wm831x-isink.c | |
parent | Linux 6.11-rc1 (diff) | |
download | linux-f0aaae1a5827c916f2d66e4392726c0c43d0479c.tar.xz linux-f0aaae1a5827c916f2d66e4392726c0c43d0479c.zip |
regulator: bd96801: Delete unnecessary check in probe()
The "idesc" pointer points to the middle of rdesc[] array so it can't be
NULL. Also rdesc isn't NULL. Delete the check.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/01cd578f-127b-4c8b-a8c6-5e11a0a2555c@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions