OSDN Git Service

tracing, dma-buf: Remove unused trace event dma_fence_annotate_wait_on
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 13 Oct 2017 14:06:25 +0000 (10:06 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 16 Oct 2017 21:16:22 +0000 (17:16 -0400)
commit136412474b77c14a26e018a7f2c1e5fcee700d3d
treec0e75e27b3cab87386b11153360bed89fdcc4d40
parentf40a37cb4916f17806b8a89d8eb76f6943c69189
tracing, dma-buf: Remove unused trace event dma_fence_annotate_wait_on

Commit e941759c74 ("fence: dma-buf cross-device synchronization") added
trace event fence_annotate_wait_on, but never used it. It was renamed
to dma_fence_annotate_wait_on by commit f54d186700 ("dma-buf: Rename
struct fence to dma_fence") but still not used. As defined trace events
have data structures and functions created for them, it is a waste of
memory if they are not used. Remove the unused trace event.

Link: http://lkml.kernel.org/r/20171013100625.6c820059@gandalf.local.home
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
drivers/dma-buf/dma-fence.c
include/trace/events/dma_fence.h