Skip to content

Commit 1464acb

Browse files
committed
blockdev: Drop dead code
We have no use for listing all devices, so drop it. Signed-off-by: Colin Walters <[email protected]>
1 parent 2fbda2a commit 1464acb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/src/blockdev.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ pub(crate) fn list_dev(dev: &Utf8Path) -> Result<Device> {
116116
.ok_or_else(|| anyhow!("no device output from lsblk for {dev}"))
117117
}
118118

119-
#[allow(dead_code)]
120-
pub(crate) fn list() -> Result<Vec<Device>> {
121-
list_impl(None)
122-
}
123-
124119
#[derive(Debug, Deserialize)]
125120
struct SfDiskOutput {
126121
partitiontable: PartitionTable,

0 commit comments

Comments
 (0)