From 8fbd953ffb741b74a01818dcb8a3b0aad3602f86 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 10 Mar 2017 13:48:35 -0800 Subject: soc/intel/common: Remove parenthesis Fix the following error detected by checkpatch.pl: ERROR: return is not a function, parentheses are not required TEST=Build and run on Galileo Gen2 Change-Id: Idf7723d4fd48124a26bbb626afc310820f859f66 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18757 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/intel/common/acpi/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel') diff --git a/src/soc/intel/common/acpi/acpi.c b/src/soc/intel/common/acpi/acpi.c index 218430fc56..c27362473e 100644 --- a/src/soc/intel/common/acpi/acpi.c +++ b/src/soc/intel/common/acpi/acpi.c @@ -109,7 +109,7 @@ __attribute__((weak)) acpi_tstate_t *soc_get_tss_table(int *entries) __attribute__((weak)) uint16_t soc_get_acpi_base_address(void) { #define ACPI_BASE_ADDR 0x400 - return (ACPI_BASE_ADDR); + return ACPI_BASE_ADDR; } static int calculate_power(int tdp, int p1_ratio, int ratio) -- cgit v1.2.3