mailbox: remove an unneeded NULL check on list iterator
authorXiaomeng Tong <xiam0nd.tong@gmail.com>
Tue, 5 Apr 2022 08:05:56 +0000 (16:05 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 21 May 2022 16:41:29 +0000 (11:41 -0500)
commit1b0070aca35ed70f9cc6f97b5d9f7f98cb4771fd
tree6131e60565457abe87751a601005c03f76651753
parent262190a8ca2b1e1ec75b8a4f1c7f07e585facd6f
mailbox: remove an unneeded NULL check on list iterator

The list iterator is always non-NULL so it doesn't need to be checked.
Thus just remove the unnecessary NULL check.

Signed-off-by: Xiaomeng Tong <xiam0nd.tong@gmail.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/tegra-hsp.c