From 60a594d1f6ed47579089727fca7f52aedd6665fc Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Tue, 21 Jun 2022 17:20:53 +0200 Subject: [PATCH] L #-: Fix extra empty line (cherry picked from commit 196d399f223b7c7b2c314c15a4270e93afba4aaa) --- share/linters/.rubocop.yml | 3 --- src/im_mad/remotes/node-probes.d/pci.rb | 1 - 2 files changed, 4 deletions(-) diff --git a/share/linters/.rubocop.yml b/share/linters/.rubocop.yml index 9d4b28f874..6d3d7ce91c 100644 --- a/share/linters/.rubocop.yml +++ b/share/linters/.rubocop.yml @@ -680,9 +680,6 @@ Style/RedundantBegin: Style/ExponentialNotation: Enabled: true -Style/SlicingWithRange: - Enabled: true - Style/AccessorGrouping: Enabled: False diff --git a/src/im_mad/remotes/node-probes.d/pci.rb b/src/im_mad/remotes/node-probes.d/pci.rb index 0505928d1e..e975ea4518 100755 --- a/src/im_mad/remotes/node-probes.d/pci.rb +++ b/src/im_mad/remotes/node-probes.d/pci.rb @@ -148,7 +148,6 @@ devices.each do |dev| values << pval('DEVICE_NAME', "#{dev[:vendor_name]} #{dev[:device_name]}") - # Get profiles addr = "0000:#{dev[:bus]}:#{dev[:slot]}.#{dev[:function]}" profiles = `ls /sys/class/mdev_bus/#{addr}/mdev_supported_types`