diff --git a/library/blivet.py b/library/blivet.py index 5e03a9d8..6b2b8673 100644 --- a/library/blivet.py +++ b/library/blivet.py @@ -1647,8 +1647,6 @@ def handle_new_mount(volume, fstab): # handle removal of existing mounts of this volume if mount and mount['fs_type'] != 'swap' and mount['mount_point'] != volume['mount_point']: replace = dict(path=mount['mount_point'], state="absent") - elif mount and mount['fs_type'] == 'swap': - replace = dict(src=mount['device_id'], fstype="swap", path="none", state="absent") return mounted, replace