summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-23 18:20:03 +0000
committerphk <phk@FreeBSD.org>2003-02-23 18:20:03 +0000
commit5d296f914c841f0629a424a0e24d5e3dc707416f (patch)
tree1da682b0374b358708de51fc50019e29c98e7b87 /sys/dev/ida
parent89e4bfc84d8b5e306b13cebd9321104c4e44f7a0 (diff)
downloadFreeBSD-src-5d296f914c841f0629a424a0e24d5e3dc707416f.zip
FreeBSD-src-5d296f914c841f0629a424a0e24d5e3dc707416f.tar.gz
Remove a goto the very next statement.
Diffstat (limited to 'sys/dev/ida')
-rw-r--r--sys/dev/ida/ida_disk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c
index f4265c9..26fcd9f 100644
--- a/sys/dev/ida/ida_disk.c
+++ b/sys/dev/ida/ida_disk.c
@@ -197,10 +197,7 @@ idad_dump(void *arg, void *virtual, vm_offset_t physical, off_t offset, size_t l
if (length > 0) {
error = ida_command(drv->controller, CMD_WRITE, virtual,
length, drv->drive, offset / DEV_BSIZE, DMA_DATA_OUT);
- if (error)
- goto out;
}
-out:
drv->controller->flags |= IDA_INTERRUPTS;
return (error);
}
OpenPOWER on IntegriCloud