kms/impl-device-atomic: Remove useless warning

No much use having a "g_return_if_fail (expr);" when we "if (expr)
return;" just above.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1820>
This commit is contained in:
Jonas Ådahl 2021-04-07 17:58:13 +02:00 committed by Marge Bot
parent dc35514fb4
commit 1f3c5bd316

View File

@ -703,7 +703,6 @@ atomic_page_flip_handler (int fd,
if (!page_flip_data)
return;
g_return_if_fail (page_flip_data);
meta_kms_page_flip_data_set_timings_in_impl (page_flip_data,
sequence, tv_sec, tv_usec);