From d74c5672546fcb9e0eee7e2042577a9e39e27661 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 11 Feb 2005 07:50:03 +0000 Subject: [PATCH] Diff reduction with p4. --- sys/dev/ed/if_ed.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index f72a19fd9274..f6a2695cbbef 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -170,9 +170,8 @@ ed_alloc_port(device_t dev, int rid, int size) sc->port_res = res; sc->port_used = size; return (0); - } else { - return (ENOENT); } + return (ENOENT); } /* @@ -191,9 +190,8 @@ ed_alloc_memory(device_t dev, int rid, int size) sc->mem_res = res; sc->mem_used = size; return (0); - } else { - return (ENOENT); } + return (ENOENT); } /* @@ -210,9 +208,8 @@ ed_alloc_irq(device_t dev, int rid, int flags) sc->irq_rid = rid; sc->irq_res = res; return (0); - } else { - return (ENOENT); } + return (ENOENT); } /*