video/fbdev: fix defio's fsync
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 19 Dec 2014 11:55:41 +0000 (13:55 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 30 Dec 2014 09:18:30 +0000 (11:18 +0200)
commit30ea9c5218651bc11cbdba7820be78f04e2d83bc
tree6c2e712cd9c08c2aca403a321c374f90b2b8c4ab
parent92b004d1aa9f367c372511ca0330f58216b25703
video/fbdev: fix defio's fsync

fb_deferred_io_fsync() returns the value of schedule_delayed_work() as
an error code, but schedule_delayed_work() does not return an error. It
returns true/false depending on whether the work was already queued.

Fix this by ignoring the return value of schedule_delayed_work().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: stable@vger.kernel.org
drivers/video/fbdev/core/fb_defio.c