Remove unused variable.

Detected by:	Coverity (ID#704)
This commit is contained in:
Poul-Henning Kamp 2005-03-17 09:32:37 +00:00
parent 572b4402d1
commit cac283487f

View File

@ -353,13 +353,7 @@ lpt_identify(driver_t *driver, device_t parent)
static int
lpt_probe(device_t dev)
{
struct lpt_data *sc;
sc = DEVTOSOFTC(dev);
/*
* Now, try to detect the printer.
*/
if (!lpt_detect(dev))
return (ENXIO);