Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern There's no need for this NULL-check.
details: https://anonhg.NetBSD.org/src/rev/5052d00b88ac
branches: trunk
changeset: 328718:5052d00b88ac
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Apr 15 06:14:55 2014 +0000
description:
There's no need for this NULL-check.
diffstat:
sys/kern/kern_verifiedexec.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 4e3ab7b14c7a -r 5052d00b88ac sys/kern/kern_verifiedexec.c
--- a/sys/kern/kern_verifiedexec.c Tue Apr 15 05:27:54 2014 +0000
+++ b/sys/kern/kern_verifiedexec.c Tue Apr 15 06:14:55 2014 +0000
@@ -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 <elad%NetBSD.org@localhost>
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index