[gnome-boxes/housekeeping-autumn-2021: 8/8] unattended-installer: Drop unused "device_name_to_path" method




commit 8bb86e0e442fe9155e8d67f297b367047763b1b9
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Oct 13 15:36:59 2021 +0200

    unattended-installer: Drop unused "device_name_to_path" method

 src/unattended-installer.vala | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index 0973136e..d10a6a8f 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -360,10 +360,6 @@ public override async bool prepare (ActivityProgress progress = new ActivityProg
         return disk;
     }
 
-    private string device_name_to_path (PathFormat path_format, string name) {
-        return (path_format == PathFormat.UNIX)? "/dev/" + name : name;
-    }
-
     private void add_unattended_file (UnattendedFile file) {
         unattended_files.append (file);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]