]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: endpoint : remove needless check before usb_free_coherent()
authorXu Wang <vulab@iscas.ac.cn>
Mon, 27 Jul 2020 02:52:08 +0000 (02:52 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Jul 2020 16:39:59 +0000 (18:39 +0200)
commitf57275ceb326614d981adbb67ec70b560ff2dbb4
tree8a1074d905c157943cd0c2a178245a8743991a5b
parent0b07cd5a7d895153323cc3d3ca42c80c4fe9183b
ALSA: usb-audio: endpoint : remove needless check before usb_free_coherent()

usb_free_coherent() is safe with NULL addr and this check is
not required.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20200727025208.8739-1-vulab@iscas.ac.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c