keyrouter: Drop unnecessary NULL check for wl_container_of() 25/278225/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 10 Jun 2022 05:55:24 +0000 (14:55 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:59:01 +0000 (14:59 +0900)
commitfcec353fd01820db2973ab1b1e6ef577e54ce9f6
tree67f5f8d90f6aeca94387fd26d845846301d0f77a
parent9b2ff241cf17b7f708c0a7d00b590c9cb63f4e81
keyrouter: Drop unnecessary NULL check for wl_container_of()

If wl_container_of() returned null, it's not something that we treat
as an exception case, but is something that we'd better fail
immediately. The result of wl_container_of() is never null.

Change-Id: I1812a2f148888cbd64441a2a39916c13f2f68a27
src/keyrouter/keyrouter_grab.c