Skip to contentSkip to conversation

drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init()

PATCH Applied YueHaibing 2 participants 2 messages Jul 25, 2023

Subsystems (2)
lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH v2 1/1 drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init()

Since commit 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs") this inline helper not used anymore.

Fixes 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs")

---
v2: Add Fixes tag

---
 include/drm/drm_fb_helper.h | 5 -----
 1 file changed, 5 deletions(-)
include/drm/drm_fb_helper.h +0 -5
index 4863b0f8299e..375737fd6c36 100644
@@ -368,11 +368,6 @@ static inline void drm_fb_helper_deferred_io(struct fb_info *info,
 {
 }
 
-static inline int drm_fb_helper_defio_init(struct drm_fb_helper *fb_helper)
-{
-	return -ENODEV;
-}
-
 static inline void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper,
 					     bool suspend)
 {
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw

Hi

Am 25.07.23 um 04:13 schrieb YueHaibing:

Quoted 8 lines

Since commit 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs") this inline helper not used anymore.

Fixes 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs")

---
v2: Add Fixes tag

Merged into drm-misc-fixes. Thank you for your patch.

Best regards
Thomas

Quoted 20 lines
---
  include/drm/drm_fb_helper.h | 5 -----
  1 file changed, 5 deletions(-)
include/drm/drm_fb_helper.h +0 -5
index 4863b0f8299e..375737fd6c36 100644
@@ -368,11 +368,6 @@ static inline void drm_fb_helper_deferred_io(struct fb_info *info,
  {
  }
 
-static inline int drm_fb_helper_defio_init(struct drm_fb_helper *fb_helper)
-{
-	return -ENODEV;
-}
-
  static inline void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper,
  					     bool suspend)
  {
Signature · 6 lines
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)