[PATCH 01/17] perf: get rid of unused import
Arnaldo Carvalho de Melo
acme at kernel.org
Wed Jun 14 05:54:08 AEST 2023
Em Tue, Jun 13, 2023 at 10:11:29PM +0530, Athira Rajeev escreveu:
> From: Sourabh Jain <sourabhjain at linux.ibm.com>
>
> Script doesn't use sys library, so remove it.
Please Cc the persons working on that file, I added Leo to the CC list
of this message.
Thanks, applied.
- Arnaldo
> Report by pylint:
> W0611: Unused import sys (unused-import)
>
> Signed-off-by: Athira Rajeev <atrajeev at linux.vnet.ibm.com>
> Signed-off-by: Kajol Jain <kjain at linux.ibm.com>
> Signed-off-by: Sourabh Jain <sourabhjain at linux.ibm.com>
> ---
> tools/perf/scripts/python/arm-cs-trace-disasm.py | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/scripts/python/arm-cs-trace-disasm.py b/tools/perf/scripts/python/arm-cs-trace-disasm.py
> index 4339692a8d0b..d59ff53f1d94 100755
> --- a/tools/perf/scripts/python/arm-cs-trace-disasm.py
> +++ b/tools/perf/scripts/python/arm-cs-trace-disasm.py
> @@ -9,7 +9,6 @@
> from __future__ import print_function
> import os
> from os import path
> -import sys
> import re
> from subprocess import *
> from optparse import OptionParser, make_option
> --
> 2.39.1
>
--
- Arnaldo
More information about the Linuxppc-dev
mailing list