From cef239675b46ffec6c3c4a99875329f0ee92a6b5 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Wed, 6 Sep 2023 20:00:20 +0200 Subject: [PATCH] drivers/pc80/vga/vga_io: Remove unnecessary parentheses Parentheses are not required. Change-Id: Iad1f766a3eb569af39030e43365e8a0a609f5944 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/77706 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/drivers/pc80/vga/vga_io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/pc80/vga/vga_io.c b/src/drivers/pc80/vga/vga_io.c index 2bf2af4fcc..2eb962e0f1 100644 --- a/src/drivers/pc80/vga/vga_io.c +++ b/src/drivers/pc80/vga/vga_io.c @@ -90,7 +90,7 @@ unsigned char vga_sr_read(unsigned char index) { outb(index, VGA_SR_INDEX); - return (inb(VGA_SR_VALUE)); + return inb(VGA_SR_VALUE); } void @@ -118,7 +118,7 @@ unsigned char vga_cr_read(unsigned char index) { outb(index, VGA_CR_INDEX); - return (inb(VGA_CR_VALUE)); + return inb(VGA_CR_VALUE); } void @@ -182,7 +182,7 @@ unsigned char vga_gr_read(unsigned char index) { outb(index, VGA_GR_INDEX); - return (inb(VGA_GR_VALUE)); + return inb(VGA_GR_VALUE); } void