Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a27e817 authored by Vimal Puthanveed's avatar Vimal Puthanveed
Browse files

hal: Remove repeated unwanted code

- Remove the unwanted repeated code which happen during
merge

CRs-Fixed: 587086

Change-Id: If6c298b2006a2d130b2c88e4ca268eddea3acbcc
parent b6645a4c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -395,12 +395,6 @@ static void check_usecases_codec_backend(struct audio_device *adev,
            }
        }

        list_for_each(node, &adev->usecase_list) {
            usecase = node_to_item(node, struct audio_usecase, list);
            if (switch_device[usecase->id]) {
                enable_snd_device(adev, snd_device, false);
            }
        }
        /* Make sure new snd device is enabled before re-routing the streams */
        audio_route_update_mixer(adev->audio_route);