Delete unnecessary cast to void *. trunk
authordyoung <dyoung@NetBSD.org>
Thu, 22 May 2008 00:57:09 +0000
branchtrunk
changeset 170164 8a1a07d67ea6
parent 170163 2aeb2b8375ee
child 170165 cf697826a116
Delete unnecessary cast to void *.
sys/nfs/nfs_boot.c
--- a/sys/nfs/nfs_boot.c	Wed May 21 21:34:16 2008 +0000
+++ b/sys/nfs/nfs_boot.c	Thu May 22 00:57:09 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs_boot.c,v 1.72 2008/04/28 20:24:10 martin Exp $	*/
+/*	$NetBSD: nfs_boot.c,v 1.73 2008/05/22 00:57:09 dyoung Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_boot.c,v 1.72 2008/04/28 20:24:10 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_boot.c,v 1.73 2008/05/22 00:57:09 dyoung Exp $");
 
 #include "opt_nfs.h"
 #include "opt_tftproot.h"
@@ -219,7 +219,7 @@
 		ireq.ifr_flags |= IFF_UP;
 	else
 		ireq.ifr_flags &= ~IFF_UP;
-	error = ifioctl(so, SIOCSIFFLAGS, (void *)&ireq, lwp);
+	error = ifioctl(so, SIOCSIFFLAGS, &ireq, lwp);
 	if (error) {
 		printf("ifupdown: SIFFLAGS, error=%d\n", error);
 		goto out;