Module Name: src
Committed By: matt
Date: Sat Sep 12 19:27:32 UTC 2009
Modified Files:
src/sys/arch/sgimips/hpc [matt-nb5-mips64]: if_sq.c
Log Message:
Don't cast a paddr if you don't have to.
To generate a diff of this commit:
cvs rdiff -u -r1.33.62.1 -r1.33.62.2 src/sys/arch/sgimips/hpc/if_sq.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/arch/sgimips/hpc/if_sq.c
diff -u src/sys/arch/sgimips/hpc/if_sq.c:1.33.62.1 src/sys/arch/sgimips/hpc/if_sq.c:1.33.62.2
--- src/sys/arch/sgimips/hpc/if_sq.c:1.33.62.1 Thu Sep 10 01:51:32 2009
+++ src/sys/arch/sgimips/hpc/if_sq.c Sat Sep 12 19:27:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sq.c,v 1.33.62.1 2009/09/10 01:51:32 matt Exp $ */
+/* $NetBSD: if_sq.c,v 1.33.62.2 2009/09/12 19:27:31 matt Exp $ */
/*
* Copyright (c) 2001 Rafal K. Boni
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.33.62.1 2009/09/10 01:51:32 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.33.62.2 2009/09/12 19:27:31 matt Exp $");
#include "bpfilter.h"
@@ -1326,7 +1326,7 @@
sq_dump_buffer(paddr_t addr, psize_t len)
{
u_int i;
- u_char* physaddr = (char*) MIPS_PHYS_TO_KSEG1((void *)addr);
+ u_char* physaddr = (char*) MIPS_PHYS_TO_KSEG1(addr);
if (len == 0)
return;