[PATCH] AppArmor: Remove semicolon

Vasyl Gomonovych gomonovych at gmail.com
Fri Jul 26 13:32:10 UTC 2019


Remove unneeded semicolon

Signed-off-by: Vasyl Gomonovych <gomonovych at gmail.com>
---
 security/apparmor/path.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/apparmor/path.c b/security/apparmor/path.c
index c6da542de27b..b02dfdbff7cd 100644
--- a/security/apparmor/path.c
+++ b/security/apparmor/path.c
@@ -142,7 +142,7 @@ static int d_namespace_path(const struct path *path, char *buf, char **name,
 			error = PTR_ERR(res);
 			*name = buf;
 			goto out;
-		};
+		}
 	} else if (!our_mnt(path->mnt))
 		connected = 0;
 
-- 
2.17.1



More information about the Linux-security-module-archive mailing list