OSDN Git Service

audio: remove sw == NULL check
authorVolker Rümelin <vr_qemu@t-online.de>
Fri, 24 Feb 2023 19:05:45 +0000 (20:05 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Mar 2023 06:30:23 +0000 (10:30 +0400)
commitb8fc5638788d2f1200e0db2c1575e37be5e474f9
tree7a336e10d5f5a42e9f9e5019d1a8d032c23be939
parent8a81abeeb2e17630c366fccbd99ce20eac328819
audio: remove sw == NULL check

All call sites of audio_pcm_sw_write() guarantee that sw is not
NULL. Remove the unnecessary NULL check.

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20230224190555.7409-5-vr_qemu@t-online.de>
audio/audio.c