Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
video: fbdev: controlfb: Fix set but not used warnings
The controlfb driver has a number of dummy defines for IO operations. They were introduced in commit a07a63b ("video: fbdev: controlfb: add COMPILE_TEST support"). The write variants did not use their value parameter in the dummy versions, resulting in set but not used warnings. Fix this by adding "(void)val" to silence the compiler. Signed-off-by: Sam Ravnborg <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: "Gustavo A. R. Silva" <[email protected]> Cc: Michael Ellerman <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
- Loading branch information