Re: [PATCH] drm/i915: avoid unused scale_user_to_hw() warning

2020-05-15 Thread Chris Wilson
Quoting Arnd Bergmann (2020-04-28 22:30:50) > After the function is no longer marked 'inline', there > is now a new warning pointing out that the only caller > is inside of an #ifdef: > > drivers/gpu/drm/i915/display/intel_panel.c:493:12: warning: > 'scale_user_to_hw' defined but not used [-Wunus

[PATCH] drm/i915: avoid unused scale_user_to_hw() warning

2020-04-28 Thread Arnd Bergmann
After the function is no longer marked 'inline', there is now a new warning pointing out that the only caller is inside of an #ifdef: drivers/gpu/drm/i915/display/intel_panel.c:493:12: warning: 'scale_user_to_hw' defined but not used [-Wunused-function] 493 | static u32 scale_user_to_hw(struct