aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorHelge Deller <[email protected]>2022-02-07 16:59:31 +0100
committerDaniel Vetter <[email protected]>2022-02-08 14:44:15 +0100
commit50b10528aad568c95f772039d4b3093b4aea7439 (patch)
tree2825db49dc5fd24c2189e370d232fa62693ca5f9 /net/lapb/lapb_in.c
parent200e8e3e43c4da4bd5ca83722523754ddb14ca02 (diff)
fbcon: Avoid 'cap' set but not used warning
Fix this kernel test robot warning: drivers/video/fbdev/core/fbcon.c: In function 'fbcon_init': drivers/video/fbdev/core/fbcon.c:1028:6: warning: variable 'cap' set but not used [-Wunused-but-set-variable] The cap variable is only used when CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is enabled. Drop the temporary variable and use info->flags instead. Fixes: 87ab9f6b7417 ("Revert "fbcon: Disable accelerated scrolling") Reported-by: kernel test robot <[email protected]> Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/YgFB4xqI+As196FR@p100
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions