On Tue, Mar 23, 2021 at 02:55:23PM -0300, Jason Gunthorpe wrote: > The next patch will use these in mdev_sysfs.c > > While here remove the now dead code checks for NULL, a mdev_type can never > have a NULL parent. I'd normally just move that into the patch that uses it, but the mechanical change looks fine: Reviewed-by: Christoph Hellwig <hch@xxxxxx>