Source-Changes-HG archive

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

[src/jdolecek-ncq]: src/sys/dev/ic remove left-over curly brace



details:   https://anonhg.NetBSD.org/src/rev/0f8132748b44
branches:  jdolecek-ncq
changeset: 822871:0f8132748b44
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Apr 11 18:14:47 2017 +0000

description:
remove left-over curly brace

diffstat:

 sys/dev/ic/mvsata.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 118c07459182 -r 0f8132748b44 sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Tue Apr 11 18:13:17 2017 +0000
+++ b/sys/dev/ic/mvsata.c       Tue Apr 11 18:14:47 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.35.6.2 2017/04/11 18:13:17 jdolecek Exp $ */
+/*     $NetBSD: mvsata.c,v 1.35.6.3 2017/04/11 18:14:47 jdolecek Exp $ */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.35.6.2 2017/04/11 18:13:17 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.35.6.3 2017/04/11 18:14:47 jdolecek Exp $");
 
 #include "opt_mvsata.h"
 
@@ -1453,7 +1453,7 @@
        ata_deactivate_xfer(chp, xfer);
        ata_free_xfer(chp, xfer);
 
-       if (ata_waitdrain_check(chp, drive)) {
+       if (ata_waitdrain_check(chp, drive))
                ata_bio->error = ERR_NODEV;
        ata_bio->flags |= ATA_ITSDONE;
        (*chp->ch_drive[drive].drv_done)(chp->ch_drive[drive].drv_softc);



Home | Main Index | Thread Index | Old Index