svn commit: r227729 - head/sys/mips/nlm
Jayachandran C.
jchandra at FreeBSD.org
Sat Nov 19 15:08:49 UTC 2011
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");
More information about the svn-src-head
mailing list