diff --git a/dp/inc/cdp_txrx_ops.h b/dp/inc/cdp_txrx_ops.h index aee7748674..36e66d5cc0 100644 --- a/dp/inc/cdp_txrx_ops.h +++ b/dp/inc/cdp_txrx_ops.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved. * * * Permission to use, copy, modify, and/or distribute this software for @@ -952,8 +952,6 @@ struct cdp_wds_ops { }; struct cdp_raw_ops { - int (*txrx_get_nwifi_mode)(struct cdp_soc_t *soc, uint8_t vdev_id); - QDF_STATUS (*rsim_get_astentry)(struct cdp_soc_t *soc, uint8_t vdev_id, qdf_nbuf_t *pnbuf, struct cdp_raw_ast *raw_ast); diff --git a/dp/inc/cdp_txrx_raw.h b/dp/inc/cdp_txrx_raw.h index 0eb40e6a0e..956119be58 100644 --- a/dp/inc/cdp_txrx_raw.h +++ b/dp/inc/cdp_txrx_raw.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2017, 2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2017, 2019, 2021 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 @@ -26,23 +26,6 @@ #include "cdp_txrx_handle.h" #include "cdp_txrx_ops.h" -/* TODO: adf need to be replaced with qdf */ -static inline int cdp_get_nwifi_mode(ol_txrx_soc_handle soc, - uint8_t vdev_id) -{ - if (!soc || !soc->ops) { - QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG, - "%s: Invalid Instance", __func__); - QDF_BUG(0); - return 0; - } - - if (!soc->ops->raw_ops || - !soc->ops->raw_ops->txrx_get_nwifi_mode) - return 0; - - return soc->ops->raw_ops->txrx_get_nwifi_mode(soc, vdev_id); -} /** * @brief finds the ast entry for the packet