Re: [PATCH v1 07/18] vfio/ccw: Flatten MDEV device (un)register

Jason Gunthorpe
2022-06-02T19:03:52Z

On Thu, Jun 02, 2022 at 07:19:37PM +0200, Eric Farman wrote:
> The vfio_ccw_mdev_(un)reg routines are merely vfio-ccw routines that
> pass control to mdev_(un)register_device. Since there's only one
> caller of each, let's just call the mdev routines directly.
>
> Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
> Signed-off-by: Eric Farman <farman@linux.ibm.com>
> ---
> drivers/s390/cio/vfio_ccw_drv.c | 4 ++--
> drivers/s390/cio/vfio_ccw_ops.c | 12 +-----------
> drivers/s390/cio/vfio_ccw_private.h | 4 +---
> 3 files changed, 4 insertions(+), 16 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason