user_namespaces.7: Remove unneeded cast

Casting `void *` to `struct child_args *` is already done implicitly.
Explicitly casting can silence warnings when mistakes are made, so it's
better to remove those casts when possible.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2020-09-05 17:14:58 +02:00 committed by Michael Kerrisk
parent 180698be28
commit dc0bba35e7
1 changed files with 1 additions and 1 deletions

View File

@ -1222,7 +1222,7 @@ proc_setgroups_write(pid_t child_pid, char *str)
static int /* Start function for cloned child */
childFunc(void *arg)
{
struct child_args *args = (struct child_args *) arg;
struct child_args *args = arg;
char ch;
/* Wait until the parent has updated the UID and GID mappings.