video/fbdev: fix defio's fsync

commit 30ea9c5218 upstream.

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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Tomi Valkeinen 2014-12-19 13:55:41 +02:00 • committed by Luis Henriques
commit fced94d091