mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
comment cleanups
This commit is contained in:
parent
50abd139f1
commit
315ef9ac6f
4
inxi
4
inxi
|
@ -3970,9 +3970,7 @@ get_cpu_data()
|
||||||
if (cpuMax != "") {
|
if (cpuMax != "") {
|
||||||
max=cpuMax/1000
|
max=cpuMax/1000
|
||||||
}
|
}
|
||||||
|
# create last array index, to be used for min/max output
|
||||||
# this is / was used in inxi short output only, but when it is N/A, need to use the previous array
|
|
||||||
# value, from above, the actual speed that is, for short output, key 0.
|
|
||||||
sub(/\.[0-9]+$/,"",max)
|
sub(/\.[0-9]+$/,"",max)
|
||||||
sub(/\.[0-9]+$/,"",speed)
|
sub(/\.[0-9]+$/,"",speed)
|
||||||
sub(/\.[0-9]+$/,"",min)
|
sub(/\.[0-9]+$/,"",min)
|
||||||
|
|
Loading…
Reference in a new issue