mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 19:55:16 -05:00
ASoC: uniphier: remove redundant check of blk_id
The check of blk_id == AUD_CLK_IO is redundant as it also being performed
in the following switch statement with the same return of -ENOTSUPP. Fix
this by removing the redundant comparison.
Detected by CoverityScan, CID#1465227 ("Logically dead code")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
21957b5bf0
commit
53b8e4504a
1 changed files with 0 additions and 3 deletions
|
|
@ -134,9 +134,6 @@ static int uniphier_aio_set_sysclk(struct snd_soc_dai *dai, int clk_id,
|
|||
bool pll_auto = false;
|
||||
int pll_id, div_id;
|
||||
|
||||
if (clk_id == AUD_CLK_IO)
|
||||
return -ENOTSUPP;
|
||||
|
||||
switch (clk_id) {
|
||||
case AUD_CLK_IO:
|
||||
return -ENOTSUPP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue