diff options
| author | Sam Ravnborg <[email protected]> | 2020-12-06 20:02:46 +0100 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-12-08 18:36:36 +0100 |
| commit | 4aca4dbcac9d8eed8a8dc15b6883270a20a84218 (patch) | |
| tree | 79fe845539ffb1ffb610b3d35805489b4febe5c3 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 86925b9f520393b012e8fb8f559b7c23420975c5 (diff) | |
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 a07a63b0e24d
("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]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions