remove redundant code
This commit is contained in:
parent
5fdb5c9d77
commit
75235bf32e
@ -20,8 +20,6 @@ our @EXPORT_OK = qw(
|
||||
sub get_intel_gpu_devices {
|
||||
my @devices = ();
|
||||
|
||||
return @devices unless check_executable('/usr/bin/intel_gpu_top', 'Intel GPU');
|
||||
|
||||
debug(__LINE__, "Getting Intel GPU devices");
|
||||
if (open my $fh, '-|', 'intel_gpu_top -L') {
|
||||
while (<$fh>) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user