summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-06 20:00:20 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-09-07 17:35:38 +0000
commitcef239675b46ffec6c3c4a99875329f0ee92a6b5 (patch)
tree6abbfce5070217c857ead816b1714a58ae74ccc4 /src/drivers
parentdb3e16e73cb8c11c2422274729f418239f2a4a02 (diff)
downloadcoreboot-cef239675b46ffec6c3c4a99875329f0ee92a6b5.tar.gz
coreboot-cef239675b46ffec6c3c4a99875329f0ee92a6b5.tar.bz2
coreboot-cef239675b46ffec6c3c4a99875329f0ee92a6b5.zip
drivers/pc80/vga/vga_io: Remove unnecessary parentheses
Parentheses are not required. Change-Id: Iad1f766a3eb569af39030e43365e8a0a609f5944 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77706 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/pc80/vga/vga_io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/pc80/vga/vga_io.c b/src/drivers/pc80/vga/vga_io.c
index 2bf2af4fcc73..2eb962e0f1c3 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