mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Dont call ata_start() when ata_reinit fails in the ioctl path.
This commit is contained in:
parent
9f2c7365ab
commit
454f3b9249
1 changed files with 0 additions and 1 deletions
|
|
@ -376,7 +376,6 @@ ata_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
|
|||
!(device = devclass_get_device(ata_devclass, *value)))
|
||||
return ENXIO;
|
||||
error = ata_reinit(device);
|
||||
ata_start(device);
|
||||
break;
|
||||
|
||||
case IOCATAATTACH:
|
||||
|
|
|
|||
Loading…
Reference in a new issue