Skip to contentSkip to conversation

drm/amd/display: remove unneeded semicolon

PATCH Applied [email protected] 2 participants 2 messages Oct 27, 2020 – Oct 30, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | 2 +-
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +1 -1
index 7b4b2304bbff..5feb804af4be 100644
@@ -858,7 +858,7 @@ static struct clock_source *find_matching_pll(
 		return pool->clock_sources[DCE112_CLK_SRC_PLL5];
 	default:
 		return NULL;
-	};
+	}
 
 	return 0;
 }
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c +1 -1
index fb6a19d020f9..ee5230ccf3c4 100644
@@ -280,6 +280,6 @@ char *mod_hdcp_state_id_to_str(int32_t id)
 		return "D2_A9_VALIDATE_STREAM_READY";
 	default:
 		return "UNKNOWN_STATE_ID";
-	};
+	}
 }
 
Signature · 1 line
2.18.1
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 39 lines · On Tue, Oct 27, 2020 at 4:07 PM <[email protected]> wrote:

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | 2 +-
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +1 -1
index 7b4b2304bbff..5feb804af4be 100644
@@ -858,7 +858,7 @@ static struct clock_source *find_matching_pll(
                return pool->clock_sources[DCE112_CLK_SRC_PLL5];
        default:
                return NULL;
-       };
+       }
 
        return 0;
 }
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c +1 -2
index fb6a19d020f9..ee5230ccf3c4 100644
@@ -280,6 +280,6 @@ char *mod_hdcp_state_id_to_str(int32_t id)
                return "D2_A9_VALIDATE_STREAM_READY";
        default:
                return "UNKNOWN_STATE_ID";
-       };
+       }
 }
 
--

2.18.1

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx