]> 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)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Oct 2011 05:11:22 +0000 (07:11 +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 2778c41b2a3f8a06dc67460c840180fa3feb4be8..feece73efd5028becbc494df9c689a06ce82ffb9 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;
        }