Module Name: src Committed By: skrll Date: Wed Oct 24 21:45:10 UTC 2012
Modified Files: src/sys/arch/evbarm/ifpga: plcom_ifpga.c Log Message: Remove unnecessary cast. >From chuq (I think) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/ifpga/plcom_ifpga.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/evbarm/ifpga/plcom_ifpga.c diff -u src/sys/arch/evbarm/ifpga/plcom_ifpga.c:1.14 src/sys/arch/evbarm/ifpga/plcom_ifpga.c:1.15 --- src/sys/arch/evbarm/ifpga/plcom_ifpga.c:1.14 Wed Jul 25 07:26:18 2012 +++ src/sys/arch/evbarm/ifpga/plcom_ifpga.c Wed Oct 24 21:45:09 2012 @@ -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 @@ plcom_ifpga_attach(device_t parent, devi 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;