]> git.proxmox.com Git - pve-manager.git/commitdiff
api: mappings: cleanup perl imports
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 05:33:48 +0000 (07:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 06:30:53 +0000 (08:30 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Cluster/Mapping.pm
PVE/API2/Cluster/Mapping/PCI.pm
PVE/API2/Cluster/Mapping/USB.pm

index 01fa986b997e887a431c7e12d8c6abb7f8b83c2f..40386579f38c53fde1d53fe4f64b4721295972d0 100644 (file)
@@ -3,8 +3,6 @@ package PVE::API2::Cluster::Mapping;
 use strict;
 use warnings;
 
-use PVE::RESTHandler;
-
 use PVE::API2::Cluster::Mapping::PCI;
 use PVE::API2::Cluster::Mapping::USB;
 
index b503d879b90e8968bdd1ca301e3f29903a557ac5..64462d2544772c1b8c672bad29fbdaa559575a7e 100644 (file)
@@ -5,13 +5,10 @@ use warnings;
 
 use Storable qw(dclone);
 
-use PVE::Cluster qw(cfs_lock_file);
-use PVE::Mapping::PCI;
+use PVE::Mapping::PCI ();
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::Tools qw(extract_param);
 
-use PVE::RESTHandler;
-
 use base qw(PVE::RESTHandler);
 
 __PACKAGE__->register_method ({
index 3883cf7dafccbf09f547f8391f84ee3e67015a93..5495bce270f886eef2b6d86740e335ae8fc26f25 100644 (file)
@@ -5,13 +5,10 @@ use warnings;
 
 use Storable qw(dclone);
 
-use PVE::Cluster qw(cfs_lock_file);
-use PVE::Mapping::USB;
+use PVE::Mapping::USB ();
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::Tools qw(extract_param);
 
-use PVE::RESTHandler;
-
 use base qw(PVE::RESTHandler);
 
 __PACKAGE__->register_method ({