Remove unused variable ubase.

This vaiable is initialized but not used.
This commit is contained in:
Jayachandran C. 2011-11-19 15:08:49 +00:00
parent b0250abec6
commit e8f1d9c88b

View File

@ -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");