Re: [PATCH -next v2] mtip32xx: Remove redundant null pointer checks in mtip_hw_debugfs_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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







[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux