diff options
| author | 2026-06-14 18:43:29 +0300 | |
|---|---|---|
| committer | 2026-07-07 11:19:05 +0200 | |
| commit | b5c347f7f0beb38ffea5c622f32002a10624d259 (patch) | |
| tree | 9e8a8106debd24507e508b872d121f82392843ed /scripts/Makefile.thinlto | |
| parent | staging: greybus: audio_codec: fix sscanf return value check (diff) | |
staging: greybus: audio_codec: remove redundant else-if check
In gbaudio_module_update(), the widget id is validated earlier in the
function to ensure it is either snd_soc_dapm_aif_in or
snd_soc_dapm_aif_out.
Remove the redundant else-if check for snd_soc_dapm_aif_out. The
remaining branch can only handle snd_soc_dapm_aif_out, which avoids
a compiler warning about a potentially uninitialized variable.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202606140347.gGVWDnbi-lkp@intel.com/
Signed-off-by: Abdelnasser Hussein <abdelnasserhussein11@gmail.com>
Link: https://patch.msgid.link/20260614154329.5176-3-abdelnasserhussein11@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
