diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-07-18 14:14:04 +0200 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2022-08-16 16:38:04 +0300 |
commit | 4681086c9becc283ba4f8ed6be315918e1e0b917 (patch) | |
tree | af162e053a15262fdc965d427383de2d04ed19c8 /net/compat.c | |
parent | 8ef2ca20754d84369971aac261ad7f99801adf87 (diff) | |
download | linux-stable-4681086c9becc283ba4f8ed6be315918e1e0b917.tar.gz linux-stable-4681086c9becc283ba4f8ed6be315918e1e0b917.tar.bz2 linux-stable-4681086c9becc283ba4f8ed6be315918e1e0b917.zip |
interconnect: icc-rpmh: Ignore return value of icc_provider_del() in .remove()
icc_provider_del() already emits an error message on failure. In this
case letting .remove() return the corresponding error code results in
another error message and the device is removed anyhow. (See
platform_remove().)
So ignore the return value of icc_provider_del() and return 0
unconditionally.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220718121409.171773-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions