From 2facdfb6c397ad01533b3cdda83384e1c0df906b Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 10 Mar 2017 13:48:35 -0800 Subject: [PATCH] UPSTREAM: 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: Idf0dc83cec44a59369333d6bb3f44099d533278a Signed-off-by: Patrick Georgi Original-Commit-Id: 8fbd953ffb741b74a01818dcb8a3b0aad3602f86 Original-Change-Id: Idf7723d4fd48124a26bbb626afc310820f859f66 Original-Signed-off-by: Lee Leahy Original-Reviewed-on: https://review.coreboot.org/18757 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/454541 --- src/soc/intel/common/acpi/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)