Am 12.04.24 um 09:57 schrieb Umang Jain:
g_once_init is not used in a meaningful way anywhere. Drop it along with connected_init() which sets it. Suggested-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx> Signed-off-by: Umang Jain <umang.jain@xxxxxxxxxxxxxxxx> ---
Yes, this cleans up the rest after commit 1790f2be41e4 ("staging: vc04_services: use DEFINE_MUTEX() for mutex lock") Reviewed-by: Stefan Wahren <wahrenst@xxxxxxx>