From: Peter Huewe Date: Tue, 10 Aug 2010 00:18:23 +0000 (-0700) Subject: drivers/video/w100fb.c: ignore void return value / fix build failure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa260c00c1aa5c657793a7221e40d2400df5afd8;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git drivers/video/w100fb.c: ignore void return value / fix build failure Fix a build failure "error: void value not ignored as it ought to be" by removing an assignment of a void return value. The functionality of the code is not changed. Signed-off-by: Peter Huewe Acked-by: Henrik Kretzschmar Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c index e66b8b19ce5..d8b12c32e3e 100644 --- a/drivers/video/w100fb.c +++ b/drivers/video/w100fb.c @@ -858,9 +858,9 @@ unsigned long w100fb_gpio_read(int port) void w100fb_gpio_write(int port, unsigned long value) { if (port==W100_GPIO_PORT_A) - value = writel(value, remapped_regs + mmGPIO_DATA); + writel(value, remapped_regs + mmGPIO_DATA); else - value = writel(value, remapped_regs + mmGPIO_DATA2); + writel(value, remapped_regs + mmGPIO_DATA2); } EXPORT_SYMBOL(w100fb_gpio_read); EXPORT_SYMBOL(w100fb_gpio_write);