remove unused import
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
import dbus
|
import dbus
|
||||||
import glob
|
|
||||||
import os
|
import os
|
||||||
import psutil
|
import psutil
|
||||||
import struct
|
import struct
|
||||||
@@ -208,7 +207,7 @@ def set_hwp(pref):
|
|||||||
f.write(pref.encode())
|
f.write(pref.encode())
|
||||||
if args.debug:
|
if args.debug:
|
||||||
with open(c) as f:
|
with open(c) as f:
|
||||||
print('[D] HWP for cpu{:d} - write {:s} - read {:s}'.format(i, pref, f.read()))
|
print('[D] HWP for cpu{:d} - write "{:s}" - read "{:s}"'.format(i, pref, f.read().strip()))
|
||||||
|
|
||||||
|
|
||||||
def power_thread(config, regs, exit_event):
|
def power_thread(config, regs, exit_event):
|
||||||
|
|||||||
Reference in New Issue
Block a user