Commit 9e6551ef authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Todd Kjos
Browse files

ANDROID: staging: android: ion: Fix compilation error for ion_trace.h



Mark __ion_ptr_to_hash as __maybe_unused to fix compilation errors
in environments where the -Wunused-function compilation flag is
used, and tracepoints are not enabled.

Bug: 162007514
Fixes: 0f73cdae ("ANDROID: add ion_stat tracepoint to common kernel")
Change-Id: I2eee59d137bb47b40c538f6e2abc60d9f08ca6cd
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
(cherry picked from commit b29688f7)
parent f39f1b55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment