aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2016-02-09 19:56:11 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-02-26 13:28:35 +0200
commit2f9ba65d9d79311119470d9a5280b335c2fb023c (patch)
tree1df6d22157387c373adde4a31d74dccbe3e331bd /include/linux/fb.h
parentvideo: fbdev: bt431: Correct cursor format control macro (diff)
downloadlinux-dev-2f9ba65d9d79311119470d9a5280b335c2fb023c.tar.xz
linux-dev-2f9ba65d9d79311119470d9a5280b335c2fb023c.zip
fbdev: kill fb_rotate
The fb_rotate method in struct fb_ops is never actually invoked, and it's been that way in the entire history of git (in fact, the last occurrence of the string '->fb_rotate' vanished over 10 years ago, with b4d8aea6d6, and that merely tested whether the callback existed). So remove some dead code and make struct fb_obs a little smaller. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 55433f86f0a3..dfe88351341f 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -296,9 +296,6 @@ struct fb_ops {
/* Draws cursor */
int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor);
- /* Rotates the display */
- void (*fb_rotate)(struct fb_info *info, int angle);
-
/* wait for blit idle, optional */
int (*fb_sync)(struct fb_info *info);