On Wed, Apr 21, 2021 at 04:29:36PM +0300, Dan Carpenter wrote: > This NULL check is no longer required because "type" now points to > an element in a non-NULL array. > > Fixes: 3d3a360e570616 ("vfio/mbochs: Use mdev_get_type_group_id()") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > samples/vfio-mdev/mbochs.c | 2 -- > samples/vfio-mdev/mdpy.c | 3 +-- > 2 files changed, 1 insertion(+), 4 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Thanks, Jason