summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-04-03 16:53:04 +0200
committerJassi Brar <jaswinder.singh@linaro.org>2022-05-21 18:41:29 +0200
commit262190a8ca2b1e1ec75b8a4f1c7f07e585facd6f (patch)
tree0b40f8274d25504b4a77b0e5cbc4c67ee645946c /drivers/mailbox
parentdt-bindings: mailbox: qcom-ipcc: simplify the example (diff)
downloadlinux-262190a8ca2b1e1ec75b8a4f1c7f07e585facd6f.tar.xz
linux-262190a8ca2b1e1ec75b8a4f1c7f07e585facd6f.zip
mailbox: imx: remove redundant initializer
Smatch reports this issue imx-mailbox.c:887:10: warning: Initializer entry defined twice imx-mailbox.c:889:10: also defined here .rxdb = imx_mu_generic_rxdb, Is listed twice, so remove one. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/imx-mailbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c
index e88f544a1548..df8a785be324 100644
--- a/drivers/mailbox/imx-mailbox.c
+++ b/drivers/mailbox/imx-mailbox.c
@@ -886,7 +886,6 @@ static const struct imx_mu_dcfg imx_mu_cfg_imx8ulp = {
.rx = imx_mu_generic_rx,
.rxdb = imx_mu_generic_rxdb,
.init = imx_mu_init_generic,
- .rxdb = imx_mu_generic_rxdb,
.type = IMX_MU_V2,
.xTR = 0x200,
.xRR = 0x280,