diag: Fix compilation error with SMD disabled
Change-Id: I8b4dad1da411452738a4c8baa16db0f7146f09a4
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
diff --git a/drivers/char/diag/diagfwd_cntl.c b/drivers/char/diag/diagfwd_cntl.c
index 534c016..9730d4f 100644
--- a/drivers/char/diag/diagfwd_cntl.c
+++ b/drivers/char/diag/diagfwd_cntl.c
@@ -121,12 +121,10 @@
queue_work(driver->diag_wq, &(driver->diag_read_smd_cntl_work));
}
-#if defined(CONFIG_MSM_N_WAY_SMD)
static void diag_smd_qdsp_cntl_notify(void *ctxt, unsigned event)
{
queue_work(driver->diag_wq, &(driver->diag_read_smd_qdsp_cntl_work));
}
-#endif
static void diag_smd_wcnss_cntl_notify(void *ctxt, unsigned event)
{