Date: Sat, 19 Nov 2011 15:08:49 +0000 (UTC) From: "Jayachandran C." <jchandra@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227729 - head/sys/mips/nlm Message-ID: <201111191508.pAJF8nXt048674@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jchandra Date: Sat Nov 19 15:08:49 2011 New Revision: 227729 URL: http://svn.freebsd.org/changeset/base/227729 Log: Remove unused variable ubase. This vaiable is initialized but not used. Modified: head/sys/mips/nlm/uart_pci_xlp.c Modified: head/sys/mips/nlm/uart_pci_xlp.c ============================================================================== --- head/sys/mips/nlm/uart_pci_xlp.c Sat Nov 19 15:01:09 2011 (r227728) +++ head/sys/mips/nlm/uart_pci_xlp.c Sat Nov 19 15:08:49 2011 (r227729) @@ -69,13 +69,11 @@ static int uart_soc_probe(device_t dev) { struct uart_softc *sc; - uint64_t ubase; if (pci_get_vendor(dev) != PCI_VENDOR_NETLOGIC || pci_get_device(dev) != PCI_DEVICE_ID_NLM_UART) return (ENXIO); - ubase = nlm_get_uart_regbase(0, 0); sc = device_get_softc(dev); sc->sc_class = &uart_ns8250_class; device_set_desc(dev, "Netlogic SoC UART");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111191508.pAJF8nXt048674>