hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/midgard/mali_kbase_jd_debugfs.c
....@@ -40,18 +40,16 @@
4040 switch (atom->core_req & BASE_JD_REQ_SOFT_JOB_TYPE) {
4141 case BASE_JD_REQ_SOFT_FENCE_TRIGGER:
4242 res = kbase_sync_fence_out_info_get(atom, &info);
43
- if (0 == res) {
43
+ if (res == 0)
4444 seq_printf(sfile, "Sa([%p]%d) ",
4545 info.fence, info.status);
46
- break;
47
- }
46
+ break;
4847 case BASE_JD_REQ_SOFT_FENCE_WAIT:
4948 res = kbase_sync_fence_in_info_get(atom, &info);
50
- if (0 == res) {
49
+ if (res == 0)
5150 seq_printf(sfile, "Wa([%p]%d) ",
5251 info.fence, info.status);
53
- break;
54
- }
52
+ break;
5553 default:
5654 break;
5755 }