Declaring completion variables, card_rem_event_var and shutdown_event_var as global variables, because we observed these completion variables, getting freed while wait on these variables. Change-Id: Iec4e913d58fafa4804ae0b2d34e15460b4f7d0b1 CRs-Fixed: 393414 Signed-off-by: c_gowri <deepthi@codeaurora.org> Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>