OSDN Git Service

dma-buf: Remove unused sync_dump()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Apr 2019 18:19:04 +0000 (19:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Apr 2019 08:30:07 +0000 (09:30 +0100)
commit245e736408175742a29acd5b3735ecc6b39f3ca1
tree719e2646c4bd75c8352f7dfa142cab6055db82b5
parentef0db94f94a0458b99bd712c1a40a87c937f236f
dma-buf: Remove unused sync_dump()

sync_dump() is an unused, unexported, function that adds 64k to the
kernel image and doesn't even provide locking around the global array it
uses.

add/remove: 0/2 grow/shrink: 0/0 up/down: 0/-65734 (-65734)
Function                                     old     new   delta
sync_dump                                    198       -    -198
sync_dump_buf                              65536       -  -65536

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419181904.6199-1-chris@chris-wilson.co.uk
drivers/dma-buf/sync_debug.c
drivers/dma-buf/sync_debug.h