mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
ec1ecf4f23
commit
3228900f80
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user