]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: fix s390 bogomips detection coding style
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 10 Aug 2011 08:34:27 +0000 (10:34 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 14 Aug 2011 15:34:06 +0000 (17:34 +0200)
Just make the s390 bogomips detection line look like all others.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
sys-utils/lscpu.c

index 50daf3c4c587b46b4d998619cb13820deef965c0..48c8044d445e46ab97c2917195042a13523c100c 100644 (file)
@@ -434,8 +434,7 @@ read_basicinfo(struct lscpu_desc *desc)
                else if (lookup(buf, "features", &desc->flags)) ;       /* s390 */
                else if (lookup(buf, "type", &desc->flags)) ;           /* sparc64 */
                else if (lookup(buf, "bogomips", &desc->bogomips)) ;
-               /* S390 */
-               else if (lookup(buf, "bogomips per cpu", &desc->bogomips)) ;
+               else if (lookup(buf, "bogomips per cpu", &desc->bogomips)) ; /* s390 */
                else
                        continue;
        }