]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ide/ide-probe.c
Merge branch 'sparc-perf-events-fixes-for-linus' of git://git.kernel.org/pub/scm...
[karo-tx-linux.git] / drivers / ide / ide-probe.c
index 8de442cbee948ca7a6fa646654c08c55650d66a4..63c53d65e875222aa0d2cd60c2d9a5f9f1feb0b6 100644 (file)
@@ -1212,7 +1212,7 @@ static int ide_find_port_slot(const struct ide_port_info *d)
 {
        int idx = -ENOENT;
        u8 bootable = (d && (d->host_flags & IDE_HFLAG_NON_BOOTABLE)) ? 0 : 1;
-       u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;;
+       u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;
 
        /*
         * Claim an unassigned slot.