On Tue, 23 Mar 2021 14:55:23 -0300 Jason Gunthorpe <jgg@xxxxxxxxxx> 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. > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > --- > drivers/vfio/mdev/mdev_core.c | 23 +++-------------------- > drivers/vfio/mdev/mdev_private.h | 12 ++++++++++++ > 2 files changed, 15 insertions(+), 20 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>