summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_surface_state.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-05-24 12:29:51 -0700
committerMatt Turner <[email protected]>2016-05-25 12:44:34 -0700
commit47dca316065e02ab27200e50f245f36ca95ffc01 (patch)
tree40564265870da1b67f2d50bb44736540d833d354 /src/intel/isl/isl_surface_state.c
parent71c30bd87ca5aa22a6c5bae611901d1376a436ad (diff)
isl: Remove useless qualifier from return type.
Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r--src/intel/isl/isl_surface_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c
index dd885313aed..cc9c94adf1a 100644
--- a/src/intel/isl/isl_surface_state.c
+++ b/src/intel/isl/isl_surface_state.c
@@ -90,7 +90,7 @@ static const uint32_t isl_to_gen_multisample_layout[] = {
};
#endif
-static const uint8_t
+static uint8_t
get_surftype(enum isl_surf_dim dim, isl_surf_usage_flags_t usage)
{
switch (dim) {