diff options
author | Chris Wilson <[email protected]> | 2018-10-31 12:07:10 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-11-01 11:29:24 +0000 |
commit | 9cbe67c5bc444ec925e8353a5f871d9e31cdddd8 (patch) | |
tree | 78ce641dce347e7f0b466c244334ffd9a5e4f8a2 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 03ceb1c8dfd1e293f40696bfe4e61c78820a0867 (diff) |
drm/syncobj: Mark local add/remove callback functions as static
drivers/gpu/drm/drm_syncobj.c:181:6: warning: no previous prototype for ‘drm_syncobj_add_callback’ [-Wmissing-prototypes]
drivers/gpu/drm/drm_syncobj.c:190:6: warning: no previous prototype for ‘drm_syncobj_remove_callback’ [-Wmissing-prototypes]
Fixing that leads to
drivers/gpu/drm/drm_syncobj.c:181:13: warning: ‘drm_syncobj_add_callback’ defined but not used [-Wunused-function]
so remove the unused drm_syncobj_add_callback() entirely.
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chunming Zhou <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions