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:
Michal Suchanek committed 2023-12-25 19:34:29 +01:00
1 parent 54efada033
commit 82ca61b38a
1 file changed
-1
-1
View File
@@ -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;