]> git.ipfire.org Git - thirdparty/grub.git/commit
luks2: Rename variable "i" to "keyslot_idx" in luks2_get_keyslot()
authorGlenn Washburn <development@efficientek.com>
Sat, 7 Nov 2020 04:44:26 +0000 (22:44 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 20 Nov 2020 14:33:41 +0000 (15:33 +0100)
commitf36193ddf1d8a29e54d6b7d2a12ce87301038afd
tree29d13d0f9bccf3556d73f013308086c12538b7da
parentc28907e235262cc497d525aea57e357f29e52873
luks2: Rename variable "i" to "keyslot_idx" in luks2_get_keyslot()

Variables named "i" are usually looping variables. So, rename it to
"keyslot_idx" to ease luks2_get_keyslot() reading.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/luks2.c