[PATCH] drm/vmwgfx: remove unused mksstat_init_record function

Zack Rusin zackr at vmware.com
Tue Apr 11 17:56:15 UTC 2023


On Fri, 2023-03-24 at 15:54 -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/gpu/drm/vmwgfx/vmwgfx_msg.c:716:21: error: unused function
>   'mksstat_init_record' [-Werror,-Wunused-function]
> static inline char *mksstat_init_record(mksstat_kern_stats_t stat_idx,
>                     ^
> This function is not used so remove it.
> 
> Signed-off-by: Tom Rix <trix at redhat.com>

Thanks, Martin Krastev already sent the same patch to the dri-devel two weeks
before. It's in the drm-misc-next branch in the drm-misc tree and should migrate to
kernel for 6.4.

z



More information about the dri-devel mailing list