staging: greybus: audio: Uninitialized variable in gbaudio_remove_controls()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 4 Aug 2020 10:16:01 +0000 (13:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 14:12:53 +0000 (16:12 +0200)
commitb15b4da88be52e7455acc59318f6c97b8740b329
tree181d8781c583c8ebc880aecc2ddc248c3b20e0af
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
staging: greybus: audio: Uninitialized variable in gbaudio_remove_controls()

The "err" variable is not meaningful so there is no need to print it.
It's uninitialized on the first iteration through the loop.

Fixes: 510e340efe0c ("staging: greybus: audio: Add helper APIs for dynamic audio modules")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Vaibhav Agarwal <vaibhav.sr@gmail.com>
Link: https://lore.kernel.org/r/20200804101601.GA392148@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_helper.c