1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Remove unused variable.

Submitted by:	ganbold
This commit is contained in:
Alexander Motin 2009-02-18 18:36:13 +00:00
parent 004aa5e7ad
commit 50b6b9cc54
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188755

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 */