Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/fbdev-helper: Remove drm_fb_helper_output_poll_changed()

The function is unused. Remove it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240812083000.337744-8-tzimmermann@suse.de

-21
-15
drivers/gpu/drm/drm_fb_helper.c
··· 2003 2003 drm_fb_helper_restore_fbdev_mode_unlocked(dev->fb_helper); 2004 2004 } 2005 2005 EXPORT_SYMBOL(drm_fb_helper_lastclose); 2006 - 2007 - /** 2008 - * drm_fb_helper_output_poll_changed - DRM mode config \.output_poll_changed 2009 - * helper for fbdev emulation 2010 - * @dev: DRM device 2011 - * 2012 - * This function can be used as the 2013 - * &drm_mode_config_funcs.output_poll_changed callback for drivers that only 2014 - * need to call drm_fbdev.hotplug_event(). 2015 - */ 2016 - void drm_fb_helper_output_poll_changed(struct drm_device *dev) 2017 - { 2018 - drm_fb_helper_hotplug_event(dev->fb_helper); 2019 - } 2020 - EXPORT_SYMBOL(drm_fb_helper_output_poll_changed);
-6
include/drm/drm_fb_helper.h
··· 271 271 int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper); 272 272 int drm_fb_helper_debug_enter(struct fb_info *info); 273 273 int drm_fb_helper_debug_leave(struct fb_info *info); 274 - 275 274 void drm_fb_helper_lastclose(struct drm_device *dev); 276 - void drm_fb_helper_output_poll_changed(struct drm_device *dev); 277 275 #else 278 276 static inline void drm_fb_helper_prepare(struct drm_device *dev, 279 277 struct drm_fb_helper *helper, ··· 397 399 } 398 400 399 401 static inline void drm_fb_helper_lastclose(struct drm_device *dev) 400 - { 401 - } 402 - 403 - static inline void drm_fb_helper_output_poll_changed(struct drm_device *dev) 404 402 { 405 403 } 406 404 #endif