mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
small whitespace clean up
This commit is contained in:
parent
de13eba739
commit
aebbdbe6c6
11
inxi
11
inxi
|
@ -1366,7 +1366,6 @@ get_audio_alsa_data()
|
||||||
echo "$alsa_data"
|
echo "$alsa_data"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
## create A_CPU_CORE_DATA, currently with two values: integer core count; core string text
|
## create A_CPU_CORE_DATA, currently with two values: integer core count; core string text
|
||||||
## return value cpu core count string, this helps resolve the multi redundant lines of old style output
|
## return value cpu core count string, this helps resolve the multi redundant lines of old style output
|
||||||
get_cpu_core_count()
|
get_cpu_core_count()
|
||||||
|
@ -1478,11 +1477,11 @@ get_cpu_data()
|
||||||
## this is for counting processors and finding HT types
|
## this is for counting processors and finding HT types
|
||||||
get_cpu_ht_multicore_smp_data()
|
get_cpu_ht_multicore_smp_data()
|
||||||
{
|
{
|
||||||
# in /proc/cpuinfo
|
# in /proc/cpuinfo
|
||||||
# if > 1 processor && processor id == core id then Hyperthreaded (HT)
|
# if > 1 processor && processor id == core id then Hyperthreaded (HT)
|
||||||
# if > 1 processor && different processor ids then Multiple Processors (SMP)
|
# if > 1 processor && different processor ids then Multiple Processors (SMP)
|
||||||
# if > 1 processor && processor id != core id then Multi-Core Processors (MCP)
|
# if > 1 processor && processor id != core id then Multi-Core Processors (MCP)
|
||||||
# if = 1 processor then single core/processor Uni-Processor (UP)
|
# if = 1 processor then single core/processor Uni-Processor (UP)
|
||||||
|
|
||||||
if [[ $B_CPUINFO == 'true' ]]; then
|
if [[ $B_CPUINFO == 'true' ]]; then
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue