dm table: simplify call to free_devices
authorHannes Reinecke <hare@suse.de>
Wed, 28 Mar 2012 17:41:24 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:24 +0000 (18:41 +0100)
free_devices in dm_table.c already uses list_for_each(), so we don't
need to check if the list is empty.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c

Simple merge