Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit e70073b

Browse files
krzkgregkh
authored andcommitted
firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp()
commit 9c3a62c upstream. mbox_client_to_bpmp() is not used, W=1 builds: drivers/firmware/tegra/bpmp.c:28:1: error: unused function 'mbox_client_to_bpmp' [-Werror,-Wunused-function] Fixes: cdfa358 ("firmware: tegra: Refactor BPMP driver") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5b9c9a6 commit e70073b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/firmware/tegra/bpmp.c

-6
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
#define MSG_RING BIT(1)
2525
#define TAG_SZ 32
2626

27-
static inline struct tegra_bpmp *
28-
mbox_client_to_bpmp(struct mbox_client *client)
29-
{
30-
return container_of(client, struct tegra_bpmp, mbox.client);
31-
}
32-
3327
static inline const struct tegra_bpmp_ops *
3428
channel_to_ops(struct tegra_bpmp_channel *channel)
3529
{

0 commit comments

Comments
 (0)