summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/vga/vga_io.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:05:39 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-22 13:40:56 +0000
commit1ef547eec7262f96770f1fe4d1c6ff44b624dbe2 (patch)
tree208ee987a82a1a5db011fccab7e6a9ed9ef8cdb4 /src/drivers/pc80/vga/vga_io.c
parent385939f7cfeeb732c4a54f6069940c2a7de53579 (diff)
src/drivers: Remove unnecessary space after casts
Change-Id: I16689da893b5a0c3254364759d435281cb3e1caf Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69803 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/pc80/vga/vga_io.c')
-rw-r--r--src/drivers/pc80/vga/vga_io.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/drivers/pc80/vga/vga_io.c b/src/drivers/pc80/vga/vga_io.c
index e4b1eb902f..2bf2af4fcc 100644
--- a/src/drivers/pc80/vga/vga_io.c
+++ b/src/drivers/pc80/vga/vga_io.c
@@ -147,10 +147,10 @@ vga_ar_read(unsigned char index)
{
unsigned char ret;
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
outb(index, VGA_AR_INDEX);
ret = inb(VGA_AR_VALUE_READ);
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
return ret;
}
@@ -158,10 +158,10 @@ vga_ar_read(unsigned char index)
void
vga_ar_write(unsigned char index, unsigned char value)
{
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
outb(index, VGA_AR_INDEX);
outb(value, VGA_AR_VALUE_WRITE);
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
}
void
@@ -209,17 +209,17 @@ vga_gr_mask(unsigned char index, unsigned char value, unsigned char mask)
void
vga_palette_enable(void)
{
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
outb(0x00, VGA_AR_INDEX);
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
}
void
vga_palette_disable(void)
{
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
outb(0x20, VGA_AR_INDEX);
- (void) inb(VGA_STAT1);
+ (void)inb(VGA_STAT1);
}
unsigned char