st/dri: Minor style fixes
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 15 May 2019 21:49:14 +0000 (14:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 15 May 2019 21:49:14 +0000 (14:49 -0700)
Trivial.

src/gallium/state_trackers/dri/dri2.c

index f7672bcae06b295fe4698ca122092e8f332d0bda..eeda7e30f5f9becce58ca7c31223ceb306bb57da 100644 (file)
@@ -115,20 +115,22 @@ static const struct dri2_format_mapping dri2_format_table[] = {
 };
 
 static const struct dri2_format_mapping *
-dri2_get_mapping_by_fourcc(int fourcc) {
+dri2_get_mapping_by_fourcc(int fourcc)
+{
    for (unsigned i = 0; i < ARRAY_SIZE(dri2_format_table); i++) {
       if (dri2_format_table[i].dri_fourcc == fourcc)
-               return &dri2_format_table[i];
+         return &dri2_format_table[i];
    }
 
    return NULL;
 }
 
 static const struct dri2_format_mapping *
-dri2_get_mapping_by_format(int format) {
+dri2_get_mapping_by_format(int format)
+{
    for (unsigned i = 0; i < ARRAY_SIZE(dri2_format_table); i++) {
       if (dri2_format_table[i].dri_format == format)
-               return &dri2_format_table[i];
+         return &dri2_format_table[i];
    }
 
    return NULL;