mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-24 09:43:23 +00:00
qemu: remove unused methods
found no use with tree-wide search, so remove: * nic_models * os_list_description Both were introduced before the import to SVN happened. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9e8976ea4e
commit
5084a85941
@ -1562,29 +1562,7 @@ sub option_exists {
|
||||
return defined($confdesc->{$key});
|
||||
}
|
||||
|
||||
sub nic_models {
|
||||
return $nic_model_list;
|
||||
}
|
||||
|
||||
sub os_list_description {
|
||||
|
||||
return {
|
||||
other => 'Other',
|
||||
wxp => 'Windows XP',
|
||||
w2k => 'Windows 2000',
|
||||
w2k3 =>, 'Windows 2003',
|
||||
w2k8 => 'Windows 2008',
|
||||
wvista => 'Windows Vista',
|
||||
win7 => 'Windows 7',
|
||||
win8 => 'Windows 8/2012',
|
||||
win10 => 'Windows 10/2016',
|
||||
l24 => 'Linux 2.4',
|
||||
l26 => 'Linux 2.6',
|
||||
};
|
||||
}
|
||||
|
||||
my $cdrom_path;
|
||||
|
||||
sub get_cdrom_path {
|
||||
|
||||
return $cdrom_path if $cdrom_path;
|
||||
|
Loading…
Reference in New Issue
Block a user