um: Fix time-travel mode
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Nov 2020 20:08:51 +0000 (21:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:17 +0000 (11:54 +0100)
commitef82413937d1656ff1b74310bb5496b18df1520e
treeefec8a72869767bda935ea3fe057c7f485184d73
parentc4b425322134e2ee2950bc1ca54a66511a1526a9
um: Fix time-travel mode

commit ff9632d2a66512436d616ef4c380a0e73f748db1 upstream.

Since the time-travel rework, basic time-travel mode hasn't worked
properly, but there's no longer a need for this WARN_ON() so just
remove it and thereby fix things.

Cc: stable@vger.kernel.org
Fixes: 4b786e24ca80 ("um: time-travel: Rewrite as an event scheduler")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/um/kernel/time.c