UPSTREAM: staging: gasket: remove gasket_wait_sync()

This function is not called anywhere, so just remove it.

Also, as an added benifit, Arnd points out that it doesn't even work
properly:
	This code won't work correct during leap seconds or a concurrent
	settimeofday() call, and it probably doesn't do what the author intended
	even for the normal case, as it passes a timeout in nanoseconds but
	reads the time using a jiffies-granularity accessor.

BUG=b:79253135
TEST=none
CQ-DEPEND=CL:1155734

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit bfd727f3a59c3696d6fbe086589376a16a5cdf05)
Signed-off-by: Zhongze Hu <frankhu@google.com>

Change-Id: Id11b89bb5c1d0626857e7200fb005f1198e3ae1d
Reviewed-on: https://chromium-review.googlesource.com/1155735
Commit-Ready: Zhongze Hu <frankhu@google.com>
Tested-by: Zhongze Hu <frankhu@google.com>
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
2 files changed