tools/testing: Fix trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Thu, 11 Jan 2018 13:46:07 +0000 (13:46 +0000)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 12 Jan 2018 18:41:33 +0000 (11:41 -0700)
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/nsfs/pidns.c

index 1182d4e..e0d86e1 100644 (file)
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
                        return pr_err("NS_GET_PARENT returned a wrong namespace");
 
                if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM)
-                       return pr_err("Don't get EPERM");;
+                       return pr_err("Don't get EPERM");
        }
 
        kill(pid, SIGKILL);