[Mesa-dev] [PATCH] i965: Remove break after return

Tapani Pälli tapani.palli at intel.com
Wed Jun 10 21:19:54 PDT 2015


Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

On 06/11/2015 02:46 AM, Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>   src/mesa/drivers/dri/i965/intel_blit.c | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_blit.c b/src/mesa/drivers/dri/i965/intel_blit.c
> index 987b5f5..068565c 100644
> --- a/src/mesa/drivers/dri/i965/intel_blit.c
> +++ b/src/mesa/drivers/dri/i965/intel_blit.c
> @@ -99,13 +99,10 @@ br13_for_cpp(int cpp)
>         return BR13_16161616;
>      case 4:
>         return BR13_8888;
> -      break;
>      case 2:
>         return BR13_565;
> -      break;
>      case 1:
>         return BR13_8;
> -      break;
>      default:
>         unreachable("not reached");
>      }
>


More information about the mesa-dev mailing list