Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/ipc: remove unneeded semicolon

Eliminate the following coccicheck warning:
./tools/testing/selftests/ipc/msgque.c:72:3-4: Unneeded semicolon
./tools/testing/selftests/ipc/msgque.c:183:2-3: Unneeded semicolon
./tools/testing/selftests/ipc/msgque.c:191:2-3: Unneeded semicolon

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Yang Li and committed by
Shuah Khan
8a94b4ea 1d317c1c

+3 -3
+3 -3
tools/testing/selftests/ipc/msgque.c
··· 69 69 printf("msgsnd failed (%m)\n"); 70 70 ret = -errno; 71 71 goto destroy; 72 - }; 72 + } 73 73 } 74 74 return 0; 75 75 ··· 180 180 IPC_NOWAIT) != 0) { 181 181 printf("First message send failed (%m)\n"); 182 182 return -errno; 183 - }; 183 + } 184 184 185 185 msgbuf.mtype = ANOTHER_MSG_TYPE; 186 186 memcpy(msgbuf.mtext, ANOTHER_TEST_STRING, sizeof(ANOTHER_TEST_STRING)); ··· 188 188 IPC_NOWAIT) != 0) { 189 189 printf("Second message send failed (%m)\n"); 190 190 return -errno; 191 - }; 191 + } 192 192 return 0; 193 193 } 194 194