st/mesa: remove unneeded break from st_api_create_context()

We have return on the previous line, thus the break will never be
reached.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Emil Velikov 2016-06-07 17:33:47 +01:00 committed by Emil Velikov
parent 6406bc1592
commit a4fa8bf819

View File

@ -654,7 +654,6 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi,
default:
*error = ST_CONTEXT_ERROR_BAD_API;
return NULL;
break;
}
if (attribs->flags & ST_CONTEXT_FLAG_ROBUST_ACCESS)