mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
d4316c155c
Just go ahead and read the sysfs attribute directly as the syscalls are needed anyway. If necessary stderr could be redirected to /dev/null in the future, but there was no case so far where the attribute did not exist. This does not make a runtime difference when running on sysfs. Change it anyway to avoid somebody searching for speed improvement options stumbling over it again. Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>