Commit 2111a5f7 authored by zhengbin's avatar zhengbin Committed by Alex Deucher

drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:110:3-4: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:133:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:163:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:191:2-3: Unneeded semicolon
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b918ecb0
...@@ -107,7 +107,7 @@ static void amdgpu_perf_read(struct perf_event *event) ...@@ -107,7 +107,7 @@ static void amdgpu_perf_read(struct perf_event *event)
default: default:
count = 0; count = 0;
break; break;
}; }
} while (local64_cmpxchg(&hwc->prev_count, prev, count) != prev); } while (local64_cmpxchg(&hwc->prev_count, prev, count) != prev);
local64_add(count - prev, &event->count); local64_add(count - prev, &event->count);
...@@ -130,7 +130,7 @@ static void amdgpu_perf_stop(struct perf_event *event, int flags) ...@@ -130,7 +130,7 @@ static void amdgpu_perf_stop(struct perf_event *event, int flags)
break; break;
default: default:
break; break;
}; }
WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED);
hwc->state |= PERF_HES_STOPPED; hwc->state |= PERF_HES_STOPPED;
...@@ -160,7 +160,7 @@ static int amdgpu_perf_add(struct perf_event *event, int flags) ...@@ -160,7 +160,7 @@ static int amdgpu_perf_add(struct perf_event *event, int flags)
break; break;
default: default:
return 0; return 0;
}; }
if (retval) if (retval)
return retval; return retval;
...@@ -188,7 +188,7 @@ static void amdgpu_perf_del(struct perf_event *event, int flags) ...@@ -188,7 +188,7 @@ static void amdgpu_perf_del(struct perf_event *event, int flags)
break; break;
default: default:
break; break;
}; }
perf_event_update_userpage(event); perf_event_update_userpage(event);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment