]> git.baikalelectronics.ru Git - kernel.git/commit
dm table: replace while loops with for loops
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 18 Apr 2017 20:51:46 +0000 (16:51 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 24 Apr 2017 16:04:31 +0000 (12:04 -0400)
commite3a8cd283911ff1bc05a5b2cea7aa2254cd68d50
treea14e713808ce97a29ab9daa99b628bb89334cc4b
parent4c6bb7fee88ff6d8bd02fe30393f72f34f97584e
dm table: replace while loops with for loops

Also remove some unnecessary use of uninitialized_var().

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c