[alsa-devel] [PATCH] ALSA: xen-front: remove unneeded switch fall-through

Oleksandr Andrushchenko Oleksandr_Andrushchenko at epam.com
Tue Feb 19 07:56:04 CET 2019


On 2/19/19 6:57 AM, Li RongQing wrote:
> This case block will be terminated by a break, so not need
> a switch fall-through
>
> Signed-off-by: Li RongQing <lirongqing at baidu.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
> ---
>   sound/xen/xen_snd_front.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/sound/xen/xen_snd_front.c b/sound/xen/xen_snd_front.c
> index a9e5c2cd7698..f12fb8eeaa27 100644
> --- a/sound/xen/xen_snd_front.c
> +++ b/sound/xen/xen_snd_front.c
> @@ -250,7 +250,6 @@ static void sndback_changed(struct xenbus_device *xb_dev,
>   	case XenbusStateReconfigured:
>   		/* fall through */
>   	case XenbusStateInitialised:
> -		/* fall through */
>   		break;
>   
>   	case XenbusStateInitialising:
Thank you,
Oleksandr


More information about the Alsa-devel mailing list