Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp700/include Remove unncessary cast.



details:   https://anonhg.NetBSD.org/src/rev/1a3905a93c9d
branches:  trunk
changeset: 755389:1a3905a93c9d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jun 04 06:39:38 2010 +0000

description:
Remove unncessary cast.

diffstat:

 sys/arch/hp700/include/cpu.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 81ae32244a5a -r 1a3905a93c9d sys/arch/hp700/include/cpu.h
--- a/sys/arch/hp700/include/cpu.h      Fri Jun 04 06:36:34 2010 +0000
+++ b/sys/arch/hp700/include/cpu.h      Fri Jun 04 06:39:38 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.48 2010/06/04 06:36:34 skrll Exp $   */
+/*     $NetBSD: cpu.h,v 1.49 2010/06/04 06:39:38 skrll Exp $   */
 
 /*     $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $       */
 
@@ -270,7 +270,7 @@
 
        __asm volatile("mfctl %1, %0" : "=r" (l): "i" (CR_CURLWP));
 
-       return (struct lwp *)l;
+       return l;
 }
 
 #define        curlwp                          hppa_curlwp()



Home | Main Index | Thread Index | Old Index