Remove unused Misc device type
This commit is contained in:
parent
c4fdd390a9
commit
e4a09f5503
|
|
@ -43,8 +43,6 @@ impl Debug for dyn Device {
|
|||
pub enum DeviceType {
|
||||
Char,
|
||||
Block,
|
||||
#[expect(dead_code)]
|
||||
Misc,
|
||||
}
|
||||
|
||||
/// Adds a device node in `/dev`.
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ impl From<DeviceType> for InodeType {
|
|||
match type_ {
|
||||
DeviceType::Char => InodeType::CharDevice,
|
||||
DeviceType::Block => InodeType::BlockDevice,
|
||||
DeviceType::Misc => InodeType::CharDevice,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue