From 8890dccb233a1d77f5a7ff2f70607858d34f24c3 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 2 Nov 2017 09:36:55 +0100 Subject: soc/mediatek/mt8173: Remove cast of `NULL*` to `void *` `NULL` already has that type in coreboot. ``` src/include/stddef.h:#define NULL ((void *)0) ``` Change-Id: I73aeaef178be8779020c436732952aa732e90c46 Reported-by: Julius Werner Signed-off-by: Paul Menzel Reviewed-on: https://review.coreboot.org/22296 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/mediatek/mt8173/bl31_plat_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/soc/mediatek/mt8173/bl31_plat_params.c b/src/soc/mediatek/mt8173/bl31_plat_params.c index b60380c886..245866a104 100644 --- a/src/soc/mediatek/mt8173/bl31_plat_params.c +++ b/src/soc/mediatek/mt8173/bl31_plat_params.c @@ -16,5 +16,5 @@ void *soc_get_bl31_plat_params(bl31_params_t *bl31_params) { - return (void *)NULL; + return NULL; } -- cgit v1.2.3