From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> commit 9c3a62c20f7fb00294a4237e287254456ba8a48b 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: cdfa358b248e ("firmware: tegra: Refactor BPMP driver") Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/firmware/tegra/bpmp.c | 6 ------ 1 file changed, 6 deletions(-) --- a/drivers/firmware/tegra/bpmp.c +++ b/drivers/firmware/tegra/bpmp.c @@ -24,12 +24,6 @@ #define MSG_RING BIT(1) #define TAG_SZ 32 -static inline struct tegra_bpmp * -mbox_client_to_bpmp(struct mbox_client *client) -{ - return container_of(client, struct tegra_bpmp, mbox.client); -} - static inline const struct tegra_bpmp_ops * channel_to_ops(struct tegra_bpmp_channel *channel) { Patches currently in stable-queue which might be from krzysztof.kozlowski@xxxxxxxxxx are queue-5.4/power-supply-max17042_battery-fix-soc-threshold-calc.patch queue-5.4/net-hisilicon-hip04-fix-of-node-leak-in-probe.patch queue-5.4/firmware-tegra-bpmp-drop-unused-mbox_client_to_bpmp.patch queue-5.4/reset-berlin-fix-of-node-leak-in-probe-error-path.patch queue-5.4/soc-versatile-realview-fix-soc_dev-leak-during-devic.patch queue-5.4/net-hisilicon-hns_mdio-fix-of-node-leak-in-probe.patch queue-5.4/soc-versatile-realview-fix-memory-leak-during-device.patch queue-5.4/net-hisilicon-hns_dsaf_mac-fix-of-node-leak-in-hns_m.patch queue-5.4/arm-versatile-fix-of-node-leak-in-cpus-prepare.patch queue-5.4/soundwire-stream-revert-soundwire-stream-fix-programming-slave-ports-for-non-continous-port-maps.patch queue-5.4/power-supply-axp20x_battery-remove-design-from-min-a.patch queue-5.4/soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch queue-5.4/arm-dts-imx7d-zii-rmu2-fix-ethernet-phy-pinctrl-prop.patch