From: Jeremy Dean Clifton <deaner92@yahoo.com>
To: Viresh Kumar <vireshk@kernel.org>,
Johan Hovold <johan@kernel.org>, Alex Elder <elder@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: outreachy@lists.linux.dev, greybus-dev@lists.linaro.org,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: greybus: Remove unused function 'to_fw_mgmt_connection'
Date: Tue, 13 Oct 2026 18:17:06 +0000 [thread overview]
Message-ID: <20261013181707.29830-1-deaner92@yahoo.com> (raw)
In-Reply-To: <20261013181707.29830-1-deaner92.ref@yahoo.com>
Remove unused function from greybus driver to_fw_mgmt_connection.
This function is not exported or called from anywhere tree-wide.
Confirmed with git grep and cscope.
Signed-off-by: Jeremy Dean Clifton <deaner92@yahoo.com>
---
drivers/staging/greybus/fw-core.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/staging/greybus/fw-core.c b/drivers/staging/greybus/fw-core.c
index 78321be80013..46b35ef55090 100644
--- a/drivers/staging/greybus/fw-core.c
+++ b/drivers/staging/greybus/fw-core.c
@@ -21,13 +21,6 @@ struct gb_fw_core {
static struct spilib_ops *spilib_ops;
-struct gb_connection *to_fw_mgmt_connection(struct device *dev)
-{
- struct gb_fw_core *fw_core = dev_get_drvdata(dev);
-
- return fw_core->mgmt_connection;
-}
-
static int gb_fw_spi_connection_init(struct gb_connection *connection)
{
int ret;
--
2.43.0
next parent reply other threads:[~2026-10-13 18:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261013181707.29830-1-deaner92.ref@yahoo.com>
2026-10-13 18:17 ` Jeremy Dean Clifton [this message]
2026-10-13 20:12 ` Alex Elder
2026-10-13 23:11 ` Jeremy Clifton
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=20261013181707.29830-1-deaner92@yahoo.com \
--to=deaner92@yahoo.com \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=outreachy@lists.linux.dev \
--cc=vireshk@kernel.org \
/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
all inboxes | Powered by JetHome®