2022-09-13 04:19:45

by yangxingwu

[permalink] [raw]
Subject: [PATCH] scripts/clang-tools: remove unused module

remove unused imported 'os' module

Signed-off-by: yangxingwu <[email protected]>
---
scripts/clang-tools/run-clang-tools.py | 1 -
1 file changed, 1 deletion(-)

diff --git a/scripts/clang-tools/run-clang-tools.py b/scripts/clang-tools/run-clang-tools.py
index 1337cedca..bb78c9bde 100755
--- a/scripts/clang-tools/run-clang-tools.py
+++ b/scripts/clang-tools/run-clang-tools.py
@@ -12,7 +12,6 @@ compile_commands.json.
import argparse
import json
import multiprocessing
-import os
import subprocess
import sys

--
2.37.2


2022-09-13 04:19:45

by yangxingwu

[permalink] [raw]
Subject: [PATCH] scripts/clang-tools: remove unused module

remove unused imported 'os' module

Signed-off-by: yangxingwu <[email protected]>
---
scripts/clang-tools/run-clang-tools.py | 1 -
1 file changed, 1 deletion(-)

diff --git a/scripts/clang-tools/run-clang-tools.py b/scripts/clang-tools/run-clang-tools.py
index 1337cedca..bb78c9bde 100755
--- a/scripts/clang-tools/run-clang-tools.py
+++ b/scripts/clang-tools/run-clang-tools.py
@@ -12,7 +12,6 @@ compile_commands.json.
import argparse
import json
import multiprocessing
-import os
import subprocess
import sys

--
2.37.2

2022-09-13 10:04:04

by Nathan Chancellor

[permalink] [raw]
Subject: Re: [PATCH] scripts/clang-tools: remove unused module

On Tue, Sep 13, 2022 at 04:07:52AM +0000, yangxingwu wrote:
> remove unused imported 'os' module
>
> Signed-off-by: yangxingwu <[email protected]>

Sure.

Reviewed-by: Nathan Chancellor <[email protected]>

Masahiro, are you able to pick this up? The original was not cc'd to
linux-kbuild but it is on lore:

https://lore.kernel.org/[email protected]/

> ---
> scripts/clang-tools/run-clang-tools.py | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/scripts/clang-tools/run-clang-tools.py b/scripts/clang-tools/run-clang-tools.py
> index 1337cedca..bb78c9bde 100755
> --- a/scripts/clang-tools/run-clang-tools.py
> +++ b/scripts/clang-tools/run-clang-tools.py
> @@ -12,7 +12,6 @@ compile_commands.json.
> import argparse
> import json
> import multiprocessing
> -import os
> import subprocess
> import sys
>
> --
> 2.37.2
>

2022-09-13 14:07:53

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] scripts/clang-tools: remove unused module

On Tue, Sep 13, 2022 at 6:50 PM Nathan Chancellor <[email protected]> wrote:
>
> On Tue, Sep 13, 2022 at 04:07:52AM +0000, yangxingwu wrote:
> > remove unused imported 'os' module
> >
> > Signed-off-by: yangxingwu <[email protected]>
>
> Sure.
>
> Reviewed-by: Nathan Chancellor <[email protected]>
>
> Masahiro, are you able to pick this up? The original was not cc'd to
> linux-kbuild but it is on lore:
>
> https://lore.kernel.org/[email protected]/


Sure, applied to linux-kbuild. Thanks.


> > ---
> > scripts/clang-tools/run-clang-tools.py | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/scripts/clang-tools/run-clang-tools.py b/scripts/clang-tools/run-clang-tools.py
> > index 1337cedca..bb78c9bde 100755
> > --- a/scripts/clang-tools/run-clang-tools.py
> > +++ b/scripts/clang-tools/run-clang-tools.py
> > @@ -12,7 +12,6 @@ compile_commands.json.
> > import argparse
> > import json
> > import multiprocessing
> > -import os
> > import subprocess
> > import sys
> >
> > --
> > 2.37.2
> >



--
Best Regards
Masahiro Yamada