On Sat, 07 Sep 2024 11:40:46 +0800, Li Zetao wrote: > Since the debugfs_create_dir() never returns a null pointer, checking > the return value for a null pointer is redundant. Since > debugfs_create_file() can deal with a ERR_PTR() style pointer, drop > the check. Since mtip_hw_debugfs_init does not pay attention to the > return value, its return type can be changed to void. > > > [...] Applied, thanks! [1/1] mtip32xx: Remove redundant null pointer checks in mtip_hw_debugfs_init() commit: a02e98bebc15f1d973c2a62005be9456a657e2b6 Best regards, -- Jens Axboe