mirror of https://gitee.com/openkylin/linux.git
fa8323bf49
Two functions were introduced for the purpose of tracing but cause warnings when tracing is disabled: sound/firewire/motu/amdtp-motu.c:284:13: error: 'copy_message' defined but not used [-Werror=unused-function] static void copy_message(u64 *frames, __be32 *buffer, unsigned int data_blocks, sound/firewire/motu/amdtp-motu.c:271:13: error: 'copy_sph' defined but not used [-Werror=unused-function] static void copy_sph(u32 *frames, __be32 *buffer, unsigned int data_blocks, Marking them as __maybe_unused will do the right thing here. Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
amdtp-motu-trace.h | ||
amdtp-motu.c | ||
motu-hwdep.c | ||
motu-midi.c | ||
motu-pcm.c | ||
motu-proc.c | ||
motu-protocol-v2.c | ||
motu-protocol-v3.c | ||
motu-stream.c | ||
motu-transaction.c | ||
motu.c | ||
motu.h |