From 5d296f914c841f0629a424a0e24d5e3dc707416f Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 23 Feb 2003 18:20:03 +0000 Subject: Remove a goto the very next statement. --- sys/dev/ida/ida_disk.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/dev/ida') 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); } -- cgit v1.1