maru: Remove useless null checks for array address 99/292799/2 accepted/tizen/unified/20230531.034430 accepted/tizen/unified/dev/20230726.115325
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 15 May 2023 03:39:38 +0000 (12:39 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 15 May 2023 04:43:48 +0000 (13:43 +0900)
commit904c6c83cda300e41aab32e8e6a56bde0c0711d3
tree3bb00000f890a13ec5e0de3ec31f2db95895b12d
parentf8fdcbf52ad20b117b6bd64f554ddb6fd1cf61f6
maru: Remove useless null checks for array address

The array address is always not null, so no need to check. Remove
useless null checks to fix -Waddress build warnings.

Change-Id: I3bef4644e37d8ed4a2a88fb21408ac1b4ff7a64b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/maru/maru_jack.c
drivers/maru/maru_power_supply.c
drivers/maru/sensors/maru_virtio_sensor.c