SDL: Return early in stead of goto

From 6d78273442dd2117bdcfafc9f73b630fcb59bf86 Mon Sep 17 00:00:00 2001
From: siery <[EMAIL REDACTED]>
Date: Wed, 2 Apr 2025 01:43:10 +0200
Subject: [PATCH] Return early in stead of goto

---
 src/audio/pipewire/SDL_pipewire.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c
index 32c93f6188f18..f070ea0d68eb7 100644
--- a/src/audio/pipewire/SDL_pipewire.c
+++ b/src/audio/pipewire/SDL_pipewire.c
@@ -266,13 +266,11 @@ static bool pipewire_core_version_at_least(int major, int minor, int patch)
 static bool io_list_check_add(struct io_node *node)
 {
     struct io_node *n;
-    bool ret = true;
 
     // See if the node is already in the list
     spa_list_for_each (n, &hotplug_io_list, link) {
         if (n->id == node->id) {
-            ret = false;
-            goto dup_found;
+            return false;
         }
     }
 
@@ -283,9 +281,7 @@ static bool io_list_check_add(struct io_node *node)
         SDL_AddAudioDevice(node->recording, node->name, &node->spec, PW_ID_TO_HANDLE(node->id));
     }
 
-dup_found:
-
-    return ret;
+    return true;
 }
 
 static void io_list_remove(Uint32 id)