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@xxxxxxxxxx> 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