]> git.proxmox.com Git - mirror_zfs.git/commit
Minor code cleanup in arc_summary.py
authorScot W. Stevenson <scot.stevenson@gmail.com>
Fri, 3 Nov 2017 22:43:53 +0000 (23:43 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 3 Nov 2017 22:43:53 +0000 (15:43 -0700)
commitdf1f129bc4150fd6ea3f23a01154a71ffa48bf12
treeed87d197085f262c11f437ea77f321d3a70130d9
parent34c2b3680bd705c3eabe32442c0d3c9ca82628b5
Minor code cleanup in arc_summary.py

Simplify and inline single-use function div1(); inline twice-used
function div2(); add function comment to zfs_header(); replace
variable "unused" in get_Kstat() with "_" following convention.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Scot W. Stevenson <scot.stevenson@gmail.com>
Closes #6802
cmd/arc_summary/arc_summary.py