summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2017-11-02 09:36:55 +0100
committerMartin Roth <martinroth@google.com>2017-11-03 16:03:30 +0000
commit8890dccb233a1d77f5a7ff2f70607858d34f24c3 (patch)
tree4e21093d5ed9f15a200259be2abb9006dc6bcae7 /src
parent0cdb505d2639256df4a669a0324793ae4a40fad4 (diff)
downloadcoreboot-8890dccb233a1d77f5a7ff2f70607858d34f24c3.tar.xz
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 <jwerner@chromium.org> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/22296 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/mt8173/bl31_plat_params.c2
1 files changed, 1 insertions, 1 deletions
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;
}