mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Remove a workaround for sysfs support that is no longer needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3113 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b1a227f67a
commit
b4598af0aa
1 file changed
-7
@@ -26,7 +26,6 @@
|
||||
#include "error.h"
|
||||
#include "proc.h"
|
||||
#include "general.h"
|
||||
#include "sysfs.h"
|
||||
|
||||
static int sensors_do_this_chip_sets(sensors_chip_name name);
|
||||
|
||||
@@ -121,12 +120,6 @@ const sensors_chip_feature *sensors_lookup_feature_name(const char *prefix,
|
||||
if there are wildcards. */
|
||||
int sensors_chip_name_has_wildcards(sensors_chip_name chip)
|
||||
{
|
||||
if (sensors_found_sysfs) {
|
||||
if (chip.prefix == SENSORS_CHIP_NAME_PREFIX_ANY)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
if ((chip.prefix == SENSORS_CHIP_NAME_PREFIX_ANY) ||
|
||||
(chip.bus == SENSORS_CHIP_NAME_BUS_ANY) ||
|
||||
(chip.bus == SENSORS_CHIP_NAME_BUS_ANY_I2C) ||
|
||||
|
||||
Reference in new issue
Block a user