soundwire: stream: remove useless initialization of local variable
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 11 Apr 2019 03:17:00 +0000 (22:17 -0500)
committerVinod Koul <vkoul@kernel.org>
Sun, 14 Apr 2019 10:03:26 +0000 (15:33 +0530)
commita25eab299165927a4e187bc40f20b549152779d9
treeef6485a1d11d7f2fe8613cfd56aea4ff4a05d8e8
parent7de8d238dd91dcb4c1200facdf7d510896927883
soundwire: stream: remove useless initialization of local variable

no need to reset return value.

Detected with cppcheck:
[drivers/soundwire/stream.c:332]: (style) Variable 'ret' is assigned a
value that is never used.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/stream.c