Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/ifpga Remove unnecessary cast.



details:   https://anonhg.NetBSD.org/src/rev/cf31ff535387
branches:  trunk
changeset: 782269:cf31ff535387
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Oct 24 21:45:09 2012 +0000

description:
Remove unnecessary cast.

>From chuq (I think)

diffstat:

 sys/arch/evbarm/ifpga/plcom_ifpga.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8dce441d1524 -r cf31ff535387 sys/arch/evbarm/ifpga/plcom_ifpga.c
--- a/sys/arch/evbarm/ifpga/plcom_ifpga.c       Wed Oct 24 21:31:06 2012 +0000
+++ b/sys/arch/evbarm/ifpga/plcom_ifpga.c       Wed Oct 24 21:45:09 2012 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: plcom_ifpga.c,v 1.14 2012/07/25 07:26:18 skrll Exp $ */
+/*      $NetBSD: plcom_ifpga.c,v 1.15 2012/10/24 21:45:09 skrll Exp $ */
 
 /*
  * Copyright (c) 2001 ARM Ltd
@@ -32,7 +32,7 @@
 /* Interface to plcom (PL010) serial driver. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plcom_ifpga.c,v 1.14 2012/07/25 07:26:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plcom_ifpga.c,v 1.15 2012/10/24 21:45:09 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/device.h>
@@ -103,7 +103,7 @@
 
 static void plcom_ifpga_set_mcr(void *aux, int unit, u_int mcr)
 {
-       struct plcom_ifpga_softc *isc = (struct plcom_ifpga_softc *)aux;
+       struct plcom_ifpga_softc *isc = aux;
        u_int set, clr;
 
        set = clr = 0;



Home | Main Index | Thread Index | Old Index