[PATCH v2 1/3] drm/xen: remove redundant initialization info print
Alex Deucher
alexdeucher at gmail.com
Mon Oct 28 20:55:47 UTC 2024
On Mon, Oct 28, 2024 at 3:04 PM Jani Nikula <jani.nikula at intel.com> wrote:
>
> drm_dev_register() already prints the same information on successful
> init. Remove the redundant prints.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
>
> ---
>
> Note: I prefer to merge this together with the next patch via
> drm-misc-next.
>
> Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Maxime Ripard <mripard at kernel.org>
> Cc: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: David Airlie <airlied at gmail.com>
> Cc: Simona Vetter <simona at ffwll.ch>
> Cc: dri-devel at lists.freedesktop.org
> Cc: xen-devel at lists.xenproject.org
> ---
> drivers/gpu/drm/xen/xen_drm_front.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_drm_front.c
> index aab79c5e34c2..931d855bfbe8 100644
> --- a/drivers/gpu/drm/xen/xen_drm_front.c
> +++ b/drivers/gpu/drm/xen/xen_drm_front.c
> @@ -525,11 +525,6 @@ static int xen_drm_drv_init(struct xen_drm_front_info *front_info)
> if (ret)
> goto fail_register;
>
> - DRM_INFO("Initialized %s %d.%d.%d %s on minor %d\n",
> - xen_drm_driver.name, xen_drm_driver.major,
> - xen_drm_driver.minor, xen_drm_driver.patchlevel,
> - xen_drm_driver.date, drm_dev->primary->index);
> -
> return 0;
>
> fail_register:
> --
> 2.39.5
>
More information about the Intel-gfx
mailing list