Message ID | 20221218171539.11193-4-vr_qemu@t-online.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | audio: more improvements | expand |
On 18/12/22 18:15, Volker Rümelin wrote: > Remove the unused #define AUDIO_STRINGIFY. It was last used before > commit 470bcabd8f ("audio: Replace AUDIO_FUNC with __func__"). > > Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> > --- > audio/audio_int.h | 3 --- > 1 file changed, 3 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
On 18/12/2022 18.15, Volker Rümelin wrote: > Remove the unused #define AUDIO_STRINGIFY. It was last used before > commit 470bcabd8f ("audio: Replace AUDIO_FUNC with __func__"). > > Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> > --- > audio/audio_int.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/audio/audio_int.h b/audio/audio_int.h > index e87ce014a0..4632cdf9cc 100644 > --- a/audio/audio_int.h > +++ b/audio/audio_int.h > @@ -294,9 +294,6 @@ static inline size_t audio_ring_posb(size_t pos, size_t dist, size_t len) > #define ldebug(fmt, ...) (void)0 > #endif > > -#define AUDIO_STRINGIFY_(n) #n > -#define AUDIO_STRINGIFY(n) AUDIO_STRINGIFY_(n) > - > typedef struct AudiodevListEntry { > Audiodev *dev; > QSIMPLEQ_ENTRY(AudiodevListEntry) next; Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/audio/audio_int.h b/audio/audio_int.h index e87ce014a0..4632cdf9cc 100644 --- a/audio/audio_int.h +++ b/audio/audio_int.h @@ -294,9 +294,6 @@ static inline size_t audio_ring_posb(size_t pos, size_t dist, size_t len) #define ldebug(fmt, ...) (void)0 #endif -#define AUDIO_STRINGIFY_(n) #n -#define AUDIO_STRINGIFY(n) AUDIO_STRINGIFY_(n) - typedef struct AudiodevListEntry { Audiodev *dev; QSIMPLEQ_ENTRY(AudiodevListEntry) next;
Remove the unused #define AUDIO_STRINGIFY. It was last used before commit 470bcabd8f ("audio: Replace AUDIO_FUNC with __func__"). Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> --- audio/audio_int.h | 3 --- 1 file changed, 3 deletions(-)