NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amiga/46672: Remove semicolon after "if ()" in efa.c



>Number:         46672
>Category:       port-amiga
>Synopsis:       Remove semicolon after "if ()" in efa.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amiga-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 08 12:25:00 +0000 2012
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Remove semicolon after "if ()" in efa.c
>How-To-Repeat:

>Fix:
diff -u -p -r1.6 efa.c
--- sys/arch/amiga/dev/efa.c    2 Jul 2012 18:15:44 -0000       1.6
+++ sys/arch/amiga/dev/efa.c    8 Jul 2012 11:55:01 -0000
@@ -488,7 +488,7 @@ efa_setup_channel(struct ata_channel *ch
                if (drvp->drive_type == DRIVET_NONE)
                        continue; /* nothing to see here */
 
-               if (drvp->PIO_cap < mode);
+               if (drvp->PIO_cap < mode)
                        mode = drvp->PIO_cap;
 
                /* TODO: check if sc_ports->mode_ok */



Home | Main Index | Thread Index | Old Index