qcacmn: Remove CONFIG_MCL in pktlog
Since WIN are not using this code at the moment, just remove CONFIG_MCL directly. Change-Id: Iff35f533f4f32a6d8b22aea5f890ec4d935fc88c CRs-Fixed: 2388751
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -83,7 +83,6 @@ void pktlog_set_callback_regtype(
|
|||||||
pl_dev->callback_type = callback_type;
|
pl_dev->callback_type = callback_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_MCL
|
|
||||||
struct pktlog_dev_t *get_pktlog_handle(void)
|
struct pktlog_dev_t *get_pktlog_handle(void)
|
||||||
{
|
{
|
||||||
struct cdp_pdev *pdev_txrx_handle =
|
struct cdp_pdev *pdev_txrx_handle =
|
||||||
@@ -101,15 +100,6 @@ void *get_txrx_context(void)
|
|||||||
return cds_get_context(QDF_MODULE_ID_TXRX);
|
return cds_get_context(QDF_MODULE_ID_TXRX);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
|
||||||
/* TODO: Need to use WIN implementation to return pktlog_dev handle */
|
|
||||||
static inline struct pktlog_dev_t *get_pktlog_handle(void)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
static struct pktlog_dev_t *get_txrx_context(void) { }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static A_STATUS pktlog_wma_post_msg(WMI_PKTLOG_EVENT event_types,
|
static A_STATUS pktlog_wma_post_msg(WMI_PKTLOG_EVENT event_types,
|
||||||
WMI_CMD_ID cmd_id, bool ini_triggered,
|
WMI_CMD_ID cmd_id, bool ini_triggered,
|
||||||
uint8_t user_triggered)
|
uint8_t user_triggered)
|
||||||
|
Reference in New Issue
Block a user