Re: [PATCH v4] drivers:block:Cancel debugfs_create_dir() check

From: Greg Kroah-Hartman
Date: Fri Aug 23 2024 - 09:02:37 EST


On Fri, Aug 23, 2024 at 07:22:45PM +0800, Yang Ruibin wrote:
> No need to check debugfs_create_dir() return value.
> It's safe to pass in errors that debugfs_create_dir() gives you.
>
> Fixes: f40eb99897af ("pktcdvd: remove driver.")

It's not a "fix", it's just a cleanup. The current code just never
actually triggers so it's not like there is any functional change here
at all.

thanks,

greg k-h