mirror of
https://github.com/torvalds/linux.git
synced 2026-11-08 21:24:02 +01:00
dm-clone: remove unused memset
Remove unused memset() with superblock_disk uuid field. The uuid field is not used, so there's no need to set it using memset(). Remove memset() call and FIXME comment. Signed-off-by: Elouan Da Costa Peixoto <elouandacostapeixoto@gmail.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
parent
624c30d967
commit
769d5353c8
|
|
@ -300,9 +300,6 @@ static void __prepare_superblock(struct dm_clone_metadata *cmd,
|
|||
{
|
||||
sb->flags = cpu_to_le32(0UL);
|
||||
|
||||
/* FIXME: UUID is currently unused */
|
||||
memset(sb->uuid, 0, sizeof(sb->uuid));
|
||||
|
||||
sb->magic = cpu_to_le64(SUPERBLOCK_MAGIC);
|
||||
sb->version = cpu_to_le32(DM_CLONE_MAX_METADATA_VERSION);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user