Skip to content

Commit 3105e32

Browse files
committed
Fix goto label not preceding a statement
1 parent 0b9ad27 commit 3105e32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extract_gpuinfo_amdgpu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@ static void gpuinfo_amdgpu_get_running_processes(
10251025
goto next;
10261026
}
10271027

1028+
next_fd:
10281029
while ((fdinfo_dent = readdir(fdinfo_dir)) != NULL) {
10291030
struct gpu_process processes_info_local = {0};
10301031
int fd_num;
@@ -1105,8 +1106,6 @@ static void gpuinfo_amdgpu_get_running_processes(
11051106
SET_VALID(gpuinfo_process_gpu_decoder_valid,
11061107
process_info->valid);
11071108
}
1108-
1109-
next_fd:
11101109
}
11111110

11121111
next:

0 commit comments

Comments
 (0)