mailbox: mpfs: ditch a useless busy check
authorConor Dooley <conor.dooley@microchip.com>
Tue, 7 Mar 2023 20:22:53 +0000 (20:22 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 3 Apr 2023 18:25:52 +0000 (19:25 +0100)
commitda82f95f7c0752f36cdb8ff99d543004e4e3acdf
tree4c4cb08b304942ff78d2214e123396f981820ac1
parentb5984a9844fc45cd301a28fb56f3de95f7e20f3c
mailbox: mpfs: ditch a useless busy check

mpfs_mbox_rx_data() already checks if the system controller is busy
before attempting to do anything, so drop the second check before
reading any data.

No functional change intended.

Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Tested-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/mailbox/mailbox-mpfs.c