summaryrefslogtreecommitdiffstats
path: root/sys/mips/nlm
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2011-11-19 15:08:49 +0000
committerjchandra <jchandra@FreeBSD.org>2011-11-19 15:08:49 +0000
commitb40f4ea97574a0cd2d06fa6bcc1afece17f10651 (patch)
treecb527d49f827f10706a7560ee544d746db0baa1e /sys/mips/nlm
parent913a15ca796b313db3c71253b0d3b09a442fe228 (diff)
downloadFreeBSD-src-b40f4ea97574a0cd2d06fa6bcc1afece17f10651.zip
FreeBSD-src-b40f4ea97574a0cd2d06fa6bcc1afece17f10651.tar.gz
Remove unused variable ubase.
This vaiable is initialized but not used.
Diffstat (limited to 'sys/mips/nlm')
-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 16c795c..4f75081 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");
OpenPOWER on IntegriCloud