Skip to content

Commit

Permalink
fbdev/sa1100fb: Remove even more dead code
Browse files Browse the repository at this point in the history
This function lost its only call site as part of
earlier dead code removal, so remove it as well:

drivers/video/fbdev/sa1100fb.c:975:21: error: unused function 'sa1100fb_min_dma_period' [-Werror,-Wunused-function]

Fixes: 390e5de ("fbdev/sa1100fb: Remove dead code")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190906151307.1127187-1-arnd@arndb.de
  • Loading branch information
Arnd Bergmann authored and Daniel Vetter committed Sep 6, 2019
1 parent 42770cb commit 464828d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions drivers/video/fbdev/sa1100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,19 +967,6 @@ static void sa1100fb_task(struct work_struct *w)
}

#ifdef CONFIG_CPU_FREQ
/*
* Calculate the minimum DMA period over all displays that we own.
* This, together with the SDRAM bandwidth defines the slowest CPU
* frequency that can be selected.
*/
static unsigned int sa1100fb_min_dma_period(struct sa1100fb_info *fbi)
{
/*
* FIXME: we need to verify _all_ consoles.
*/
return sa1100fb_display_dma_period(&fbi->fb.var);
}

/*
* CPU clock speed change handler. We need to adjust the LCD timing
* parameters when the CPU clock is adjusted by the power management
Expand Down

0 comments on commit 464828d

Please sign in to comment.