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>
This commit is contained in:
Yang Li 2021-02-08 18:24:00 +08:00 committed by Shuah Khan
parent 1d317c1ca2
commit 8a94b4ea28
1 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ int restore_queue(struct msgque_data *msgque)
printf("msgsnd failed (%m)\n"); printf("msgsnd failed (%m)\n");
ret = -errno; ret = -errno;
goto destroy; goto destroy;
}; }
} }
return 0; return 0;
@ -180,7 +180,7 @@ int fill_msgque(struct msgque_data *msgque)
IPC_NOWAIT) != 0) { IPC_NOWAIT) != 0) {
printf("First message send failed (%m)\n"); printf("First message send failed (%m)\n");
return -errno; return -errno;
}; }
msgbuf.mtype = ANOTHER_MSG_TYPE; msgbuf.mtype = ANOTHER_MSG_TYPE;
memcpy(msgbuf.mtext, ANOTHER_TEST_STRING, sizeof(ANOTHER_TEST_STRING)); memcpy(msgbuf.mtext, ANOTHER_TEST_STRING, sizeof(ANOTHER_TEST_STRING));
@ -188,7 +188,7 @@ int fill_msgque(struct msgque_data *msgque)
IPC_NOWAIT) != 0) { IPC_NOWAIT) != 0) {
printf("Second message send failed (%m)\n"); printf("Second message send failed (%m)\n");
return -errno; return -errno;
}; }
return 0; return 0;
} }