[firefly] [PATCH] wireless: added break on default label

Daniel Baluta daniel.baluta at gmail.com
Thu Jul 11 09:35:39 EEST 2013


On Thu, Jul 11, 2013 at 9:33 AM, Alexandru Preda
<alexandru.preda91 at gmail.com> wrote:
> This patch fixes warnings generated by checkpatch.pl
>
> Signed-off-by: Alexandru Preda <alexandru.preda91 at gmail.com>
> ---
>  net/wireless/util.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/wireless/util.c b/net/wireless/util.c
> index 74458b7..05ac3ca 100644
> --- a/net/wireless/util.c
> +++ b/net/wireless/util.c
> @@ -80,7 +80,7 @@ int ieee80211_channel_to_frequency(int chan, enum ieee80211_band band)
>                         return 56160 + chan * 2160;
>                 break;
>         default:
> -               ;
> +               break;
>         }
>         return 0; /* not supported */
>  }
> --
> 1.7.10.4

Looks good. Thanks Alex!


More information about the firefly mailing list