Re: [PATCH] staging: greybus: loopback: remove unused includes

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,dev.linux.lists.linux-staging
Message-ID <2026081355-unroll-spilt-6725@gregkh>
On Wed, Aug 12, 2026 at 09:03:54PM +0300, Batu Ada Tutkun wrote:
> linux/random.h, linux/sizes.h, linux/cdev.h, linux/fs.h, and
> linux/workqueue.h are not used anywhere in this file; none of their
> symbols appear in the source, and none are needed transitively either
> (debugfs helpers come from linux/debugfs.h, the async worker uses
> kthread_run()/kthread_stop() rather than the workqueue API).
> 
> Verified by removing the five includes and rebuilding
> drivers/staging/greybus out-of-tree with W=1: no new warnings or
> errors, and checkpatch.pl reports the same warning/check count before
> and after.
> 
> Assisted-by: Claude:claude-sonnet-4-6
> Signed-off-by: Batu Ada Tutkun <[email protected]>
> ---
>  drivers/staging/greybus/loopback.c | 5 -----
>  1 file changed, 5 deletions(-)

Please read:
	https://lore.kernel.org/all/2026080354-skater-urgent-31b2@gregkh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.