[PATCH v2 1/3] drm/xen: remove redundant initialization info print

Thomas Zimmermann tzimmermann at suse.de
Thu Dec 5 07:28:32 UTC 2024




Am 04.12.24 um 15:31 schrieb Jani Nikula:
> drm_dev_register() already prints the same information on successful
> init. Remove the redundant prints.
>
> Acked-by: Alex Deucher <alexander.deucher at amd.com>
> Signed-off-by: Jani Nikula <jani.nikula at intel.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

Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>

> ---
>   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:

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)



More information about the Intel-gfx mailing list