aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayachandran C. <jchandra@FreeBSD.org>2011-11-19 15:08:49 +0000
committerJayachandran C. <jchandra@FreeBSD.org>2011-11-19 15:08:49 +0000
commite8f1d9c88ba8cd1eedf6d93622b3b498a6f34dfd (patch)
treecb527d49f827f10706a7560ee544d746db0baa1e
parentb0250abec622200245e2d070c4ca68c78371b2c1 (diff)
downloadsrc-e8f1d9c88ba8cd1eedf6d93622b3b498a6f34dfd.tar.gz
src-e8f1d9c88ba8cd1eedf6d93622b3b498a6f34dfd.zip
Remove unused variable ubase.
This vaiable is initialized but not used.
Notes
Notes: svn path=/head/; revision=227729
-rw-r--r--sys/mips/nlm/uart_pci_xlp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/mips/nlm/uart_pci_xlp.c b/sys/mips/nlm/uart_pci_xlp.c
index 16c795c15827..4f75081e6b67 100644
--- a/sys/mips/nlm/uart_pci_xlp.c
+++ b/sys/mips/nlm/uart_pci_xlp.c
@@ -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");