diff options
author | Ian Coolidge <icoolidge@google.com> | 2015-04-16 17:36:02 -0700 |
---|---|---|
committer | Ian Coolidge <icoolidge@google.com> | 2015-04-16 17:38:34 -0700 |
commit | 8c0d3947e3b65a4cc35c12729e43d8b1577306cd (patch) | |
tree | 6b2f81ba5835910e9cc830b3ca6b478bad8ab92e /audio_a2dp_hw | |
parent | ca8e356bebe608310ce50d0cbc5c821a694554a9 (diff) | |
download | android_system_bt-8c0d3947e3b65a4cc35c12729e43d8b1577306cd.tar.gz android_system_bt-8c0d3947e3b65a4cc35c12729e43d8b1577306cd.tar.bz2 android_system_bt-8c0d3947e3b65a4cc35c12729e43d8b1577306cd.zip |
Make unused tagging consistent, using the portable macro.
Change-Id: Id3b68bd32edfce13a847eef55ae81cd47e8fc112
Diffstat (limited to 'audio_a2dp_hw')
-rw-r--r-- | audio_a2dp_hw/audio_a2dp_hw.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/audio_a2dp_hw/audio_a2dp_hw.c b/audio_a2dp_hw/audio_a2dp_hw.c index a3ff331e7..0d621165a 100644 --- a/audio_a2dp_hw/audio_a2dp_hw.c +++ b/audio_a2dp_hw/audio_a2dp_hw.c @@ -1003,13 +1003,14 @@ static int adev_open_output_stream(struct audio_hw_device *dev, audio_output_flags_t flags, struct audio_config *config, struct audio_stream_out **stream_out, - const char *address __unused) + const char *address) { struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev; struct a2dp_stream_out *out; int ret = 0; int i; + UNUSED(address); UNUSED(handle); UNUSED(devices); UNUSED(flags); @@ -1202,16 +1203,19 @@ static int adev_open_input_stream(struct audio_hw_device *dev, audio_devices_t devices, struct audio_config *config, struct audio_stream_in **stream_in, - audio_input_flags_t flags __unused, - const char *address __unused, - audio_source_t source __unused) + audio_input_flags_t flags, + const char *address, + audio_source_t source) { struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev; struct a2dp_stream_in *in; int ret; - UNUSED(handle); - UNUSED(devices); + UNUSED(address); UNUSED(config); + UNUSED(devices); + UNUSED(flags); + UNUSED(handle); + UNUSED(source); FNLOG(); @@ -1367,4 +1371,3 @@ struct audio_module HAL_MODULE_INFO_SYM = { .methods = &hal_module_methods, }, }; - |