]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: Remove pointless NULL check
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 4 May 2016 13:59:09 +0000 (14:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 May 2016 15:35:32 +0000 (17:35 +0200)
commit63434a4741b0722265f865568f7e5376f57b0330
tree4f110ab73928f8f0e2d1b71233566b9e60a4ca8b
parent07c8aef3f37f727d7b1414150f20219697a58e62
ALSA: compress: Remove pointless NULL check

stream can't be NULL here as we have just taken the address of it, so no
need for the check.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c