]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: remove unnecessary prefix from static function
authorKarel Zak <kzak@redhat.com>
Tue, 15 Dec 2020 10:31:57 +0000 (11:31 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Dec 2020 10:31:57 +0000 (11:31 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu-arm.c

index 9e259673c8fec6f50db982742842714bb1e01f34..7f2b5c968efdce3799b41ae6d13f79cf9c1c08c7 100644 (file)
@@ -364,7 +364,7 @@ static void arm_decode(struct lscpu_cxt *cxt, struct lscpu_cputype *ct)
                ct->nr_socket_on_cluster = get_number_of_physical_sockets_from_dmi();
 }
 
-static int lscpu_is_cluster_arm(struct lscpu_cxt *cxt)
+static int is_cluster_arm(struct lscpu_cxt *cxt)
 {
        struct stat st;
 
@@ -379,7 +379,7 @@ void lscpu_decode_arm(struct lscpu_cxt *cxt)
 {
        size_t i;
 
-       cxt->is_cluster = lscpu_is_cluster_arm(cxt);
+       cxt->is_cluster = is_cluster_arm(cxt);
 
        for (i = 0; i < cxt->ncputypes; i++)
                arm_decode(cxt, cxt->cputypes[i]);