Remove unused variable.
Submitted by: ganbold
This commit is contained in:
parent
9a1e2de526
commit
bcff264488
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user