Messages in this thread | | | Date | Mon, 24 Apr 2023 12:56:58 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] drivers: regulator: core: remove return value check of `rdev->debugfs` |
| |
On Mon, Apr 24, 2023 at 10:57:37AM +0800, Yuchen Yang wrote: > Smatch complains that: > rdev_init_debugfs() warn: 'rdev->debugfs' is an error pointer or valid > > According to the documentation of the debugfs_create_dir() function, > there is no need to check the return value of this function. > Just delete the dead code.
Please stop sending these patches. [unhandled content-type:application/pgp-signature] | |