[PATCH] rdmacg: fix semicolon.cocci warnings
From: kbuild test robot
Date: Sat Jan 30 2016 - 19:39:22 EST
kernel/cgroup_rdma.c:787:2-3: Unneeded semicolon
kernel/cgroup_rdma.c:611:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
CC: Parav Pandit <pandit.parav@xxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
cgroup_rdma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/kernel/cgroup_rdma.c
+++ b/kernel/cgroup_rdma.c
@@ -608,7 +608,7 @@ static enum rdmacg_resource_pool_type of
default:
pool_type = RDMACG_RESOURCE_POOL_HW;
break;
- };
+ }
return pool_type;
}
@@ -784,7 +784,7 @@ static int get_resource_val(struct rdmac
default:
val = 0;
break;
- };
+ }
return val;
}