Linux kernel staging patches
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Batu Ada Tutkun <batuadatutkun@gmail.com>
Cc: Bryan O'Donoghue <pure.logic@nexus-software.ie>,
	Johan Hovold <johan@kernel.org>, Alex Elder <elder@kernel.org>,
	greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: greybus: loopback: remove unused includes
Date: Thu, 13 Aug 2026 08:50:19 +0900	[thread overview]
Message-ID: <2026081355-unroll-spilt-6725@gregkh> (raw)
In-Reply-To: <20260812180354.1968-1-batuadatutkun@gmail.com>

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 <batuadatutkun@gmail.com>
> ---
>  drivers/staging/greybus/loopback.c | 5 -----
>  1 file changed, 5 deletions(-)

Please read:
	https://lore.kernel.org/all/2026080354-skater-urgent-31b2@gregkh



      reply	other threads:[~2026-08-12 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-12 18:03 [PATCH] staging: greybus: loopback: remove unused includes Batu Ada Tutkun
2026-08-12 23:50 ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026081355-unroll-spilt-6725@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=batuadatutkun@gmail.com \
    --cc=elder@kernel.org \
    --cc=greybus-dev@lists.linaro.org \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=pure.logic@nexus-software.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox