From: Karel Zak Date: Fri, 23 Nov 2012 14:01:27 +0000 (+0100) Subject: lscpu: remove unnecessary variable X-Git-Tag: v2.23-rc1~487 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c32b388b5407c4692dbaf4d7ee835f87f2e98b2;p=thirdparty%2Futil-linux.git lscpu: remove unnecessary variable Signed-off-by: Karel Zak --- diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index a840548c0c..5ff5aa79de 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -414,7 +414,6 @@ read_basicinfo(struct lscpu_desc *desc, struct lscpu_modifier *mod) /* get mask for online CPUs */ if (path_exist(_PATH_SYS_SYSTEM "/cpu/online")) { - size_t setsize = CPU_ALLOC_SIZE(maxcpus); desc->online = path_read_cpulist(maxcpus, _PATH_SYS_SYSTEM "/cpu/online"); desc->nthreads = CPU_COUNT_S(setsize, desc->online); }