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>
This commit is contained in:

committed by
Tomi Valkeinen

parent
e29f0d55e2
commit
2f9ba65d9d
@@ -613,22 +613,6 @@ int xxxfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* xxxfb_rotate - NOT a required function. If your hardware
|
||||
* supports rotation the whole screen then
|
||||
* you would provide a hook for this.
|
||||
*
|
||||
* @info: frame buffer structure that represents a single frame buffer
|
||||
* @angle: The angle we rotate the screen.
|
||||
*
|
||||
* This operation is used to set or alter the properities of the
|
||||
* cursor.
|
||||
*/
|
||||
void xxxfb_rotate(struct fb_info *info, int angle)
|
||||
{
|
||||
/* Will be deprecated */
|
||||
}
|
||||
|
||||
/**
|
||||
* xxxfb_sync - NOT a required function. Normally the accel engine
|
||||
* for a graphics card take a specific amount of time.
|
||||
@@ -665,7 +649,6 @@ static struct fb_ops xxxfb_ops = {
|
||||
.fb_copyarea = xxxfb_copyarea, /* Needed !!! */
|
||||
.fb_imageblit = xxxfb_imageblit, /* Needed !!! */
|
||||
.fb_cursor = xxxfb_cursor, /* Optional !!! */
|
||||
.fb_rotate = xxxfb_rotate,
|
||||
.fb_sync = xxxfb_sync,
|
||||
.fb_ioctl = xxxfb_ioctl,
|
||||
.fb_mmap = xxxfb_mmap,
|
||||
|
Reference in New Issue
Block a user