Skip to content

Commit f27a290

Browse files
committed
functions: Remove unused imports
1 parent a4b9185 commit f27a290

18 files changed

+0
-68
lines changed

tuned/profiles/functions/function_assertion.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import os
21
import tuned.logs
32
from . import base
4-
from tuned.utils.commands import commands
53
from tuned.profiles.exceptions import InvalidProfileException
64

75
log = tuned.logs.get()

tuned/profiles/functions/function_assertion_non_equal.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import os
21
import tuned.logs
32
from . import base
4-
from tuned.utils.commands import commands
53
from tuned.profiles.exceptions import InvalidProfileException
64

75
log = tuned.logs.get()

tuned/profiles/functions/function_cpuinfo_check.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import re
2-
import tuned.logs
32
from . import base
43

5-
log = tuned.logs.get()
6-
74
class CPUInfoCheck(base.Function):
85
"""
96
Checks regexes against the content of `/proc/cpuinfo`.

tuned/profiles/functions/function_cpulist2devs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import tuned.logs
21
from . import base
32

4-
log = tuned.logs.get()
5-
63
class CPUList2Devs(base.Function):
74
"""
85
Converts a CPU list into a comma-separated list of device names.

tuned/profiles/functions/function_cpulist2hex.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import os
2-
import tuned.logs
31
from . import base
4-
from tuned.utils.commands import commands
5-
6-
log = tuned.logs.get()
72

83
class CPUList2Hex(base.Function):
94
"""

tuned/profiles/functions/function_cpulist2hex_invert.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import os
2-
import tuned.logs
31
from . import base
4-
from tuned.utils.commands import commands
5-
6-
log = tuned.logs.get()
72

83
class CPUList2HexInvert(base.Function):
94
"""

tuned/profiles/functions/function_cpulist_invert.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import os
2-
import tuned.logs
31
from . import base
4-
from tuned.utils.commands import commands
5-
6-
log = tuned.logs.get()
72

83
class CPUListInvert(base.Function):
94
"""

tuned/profiles/functions/function_cpulist_online.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import os
2-
import tuned.logs
31
from . import base
4-
from tuned.utils.commands import commands
5-
6-
log = tuned.logs.get()
72

83
class CPUListOnline(base.Function):
94
"""

tuned/profiles/functions/function_cpulist_pack.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import os
2-
import tuned.logs
31
from . import base
4-
from tuned.utils.commands import commands
5-
6-
log = tuned.logs.get()
72

83
class CPUListPack(base.Function):
94
"""

tuned/profiles/functions/function_cpulist_present.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import os
2-
import tuned.logs
31
from . import base
4-
from tuned.utils.commands import commands
5-
6-
log = tuned.logs.get()
72

83
class CPUListPresent(base.Function):
94
"""

0 commit comments

Comments
 (0)