mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
sysfs: remove unused variable
Fixes: e5e053bb ("libsensors: Avoid non-symlink sysfs device entries")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
This commit is contained in:
1 parent
54efada033
commit
82ca61b38a
1 file changed
-1
@@ -752,7 +752,6 @@ static char* realpath_no_symlink(const char *restrict path,
|
||||
char *restrict resolved_path)
|
||||
{
|
||||
struct stat st;
|
||||
int ret;
|
||||
|
||||
if (lstat(path, &st) < 0)
|
||||
return NULL;
|
||||
|
||||
Reference in new issue
Block a user