Remove unused variable.

Submitted by:	ganbold
This commit is contained in:
mav 2009-02-18 18:36:13 +00:00
parent 9a1e2de526
commit bcff264488

View File

@ -304,11 +304,10 @@ ata_suspend(device_t dev)
int
ata_resume(device_t dev)
{
struct ata_channel *ch;
int error;
/* check for valid device */
if (!dev || !(ch = device_get_softc(dev)))
if (!dev || !device_get_softc(dev))
return ENXIO;
/* reinit the devices, we dont know what mode/state they are in */