staging: greybus: Remove unused function 'to_fw_mgmt_connection'

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>
Reviewed-by: Alex Elder <elder@riscstar.com>
Link: https://patch.msgid.link/20261013181707.29830-1-deaner92@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jeremy Dean Clifton 2026-10-13 18:17:06 +00:00 committed by Greg Kroah-Hartman
parent ec1ecf4f23
commit 3228900f80

View File

@ -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;