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




commit a00cb62b4d32326244ca62e46411e2f492fcffaa
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]