Module Name: src
Committed By: maxv
Date: Tue Apr 15 06:14:55 UTC 2014
Modified Files:
src/sys/kern: kern_verifiedexec.c
Log Message:
There's no need for this NULL-check.
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/kern/kern_verifiedexec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/kern_verifiedexec.c
diff -u src/sys/kern/kern_verifiedexec.c:1.133 src/sys/kern/kern_verifiedexec.c:1.134
--- src/sys/kern/kern_verifiedexec.c:1.133 Tue Feb 25 18:30:11 2014
+++ src/sys/kern/kern_verifiedexec.c Tue Apr 15 06:14:55 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_verifiedexec.c,v 1.133 2014/02/25 18:30:11 pooka Exp $ */
+/* $NetBSD: kern_verifiedexec.c,v 1.134 2014/04/15 06:14:55 maxv Exp $ */
/*-
* Copyright (c) 2005, 2006 Elad Efrat <[email protected]>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_verifiedexec.c,v 1.133 2014/02/25 18:30:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_verifiedexec.c,v 1.134 2014/04/15 06:14:55 maxv Exp $");
#include "opt_veriexec.h"
@@ -580,9 +580,6 @@ static void
veriexec_file_report(struct veriexec_file_entry *vfe, const u_char *msg,
const u_char *filename, struct lwp *l, int f)
{
- if (msg == NULL)
- return;
-
if (vfe != NULL && vfe->filename != NULL)
filename = vfe->filename;