diff options
| author | Li Zetao <[email protected]> | 2024-09-03 14:38:12 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2024-09-05 13:09:47 +0000 |
| commit | 92f4368347a2a8a204b0513df32233075cd93b4f (patch) | |
| tree | 6ea889dfbaf809c99d34746f61d63f74d82bfd03 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | Merge tag 'renesas-pinctrl-for-v6.12-tag2' of git://git.kernel.org/pub/scm/li... (diff) | |
| download | kernel-92f4368347a2a8a204b0513df32233075cd93b4f.tar.gz kernel-92f4368347a2a8a204b0513df32233075cd93b4f.zip | |
pinctrl: Remove redundant null pointer checks in pinctrl_remove_device_debugfs()
Since the debugfs_create_dir() never returns a null pointer, checking
the return value for a null pointer is redundant, and using IS_ERR is
safe enough.
Signed-off-by: Li Zetao <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
