]> www.infradead.org Git - nvme.git/commit
tools/power turbostat: Remove unnecessary fflush() call
authorZhang Rui <rui.zhang@intel.com>
Thu, 14 Nov 2024 07:59:43 +0000 (15:59 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 30 Nov 2024 21:42:07 +0000 (16:42 -0500)
commitba99a4fc8c24dc7d35f18edb6e3b0a65345fbfa3
treebbe6657df9e6f34f07528a2251c70a3acbde3e6f
parent1958f4e16864f78ab121de08ba4d7a984ed46891
tools/power turbostat: Remove unnecessary fflush() call

The graphics sysfs knobs are read-only, making the use of fflush()
before reading them redundant.

Remove the unnecessary fflush() call.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c