]> git.proxmox.com Git - pve-storage.git/commit
LIO: followup: various small cleanups
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Aug 2018 12:43:27 +0000 (14:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Aug 2018 12:57:07 +0000 (14:57 +0200)
commitf15ac9b5a86a57d5484bed392857c93d2e9cb0cf
tree600f9276e32626cc66ee1b21b8e11688379c2641
parentff69c6602269a32b496069ae7700f6fd10fc6577
LIO: followup: various small cleanups

move two loop bodies from

if (condition) {
    ...
}

too
next if !condition;

...

to save an indentation level

rename variables to a bit shorter version, i.e.:
s/oneTarget/target/
s/oneTpg/tpg/

and a comment rewording

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/LunCmd/LIO.pm