From 860380d062b0643a31bf1934c4f01aad2bc29da0 Mon Sep 17 00:00:00 2001 From: Jianmin Zhu Date: Tue, 29 Jan 2019 10:11:52 +0800 Subject: [PATCH] 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 --- utils/pktlog/pktlog_ac.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/utils/pktlog/pktlog_ac.c b/utils/pktlog/pktlog_ac.c index b51c19b0a0..67513c9597 100644 --- a/utils/pktlog/pktlog_ac.c +++ b/utils/pktlog/pktlog_ac.c @@ -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 * 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; } -#ifdef CONFIG_MCL struct pktlog_dev_t *get_pktlog_handle(void) { struct cdp_pdev *pdev_txrx_handle = @@ -101,15 +100,6 @@ void *get_txrx_context(void) 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, WMI_CMD_ID cmd_id, bool ini_triggered, uint8_t user_triggered)