mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacmn: Remove DA source code dependency
Remove DA header file reference and other DA dependent code changes. Change-Id: I49804f753390b8952e45679b178162dd60bb43f6
This commit is contained in:
parent
a34d51b747
commit
0ddf3353fd
2 changed files with 2 additions and 22 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2020 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
|
||||
|
|
@ -56,9 +56,6 @@ wlan_cp_stats_psoc_obj_create_handler(struct wlan_objmgr_psoc *psoc, void *arg)
|
|||
cp_stats_err("Failed to init cp stats ctx, bad device type");
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto wlan_cp_stats_psoc_obj_create_handler_return;
|
||||
} else if (WLAN_DEV_DA == dev_type) {
|
||||
csc->cp_stats_ctx_init = wlan_cp_stats_ctx_init_da;
|
||||
csc->cp_stats_ctx_deinit = wlan_cp_stats_ctx_deinit_da;
|
||||
} else if (WLAN_DEV_OL == dev_type) {
|
||||
csc->cp_stats_ctx_init = wlan_cp_stats_ctx_init_ol;
|
||||
csc->cp_stats_ctx_deinit = wlan_cp_stats_ctx_deinit_ol;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018, 2020 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
|
||||
|
|
@ -34,11 +34,7 @@
|
|||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
|
||||
#ifdef QCA_SUPPORT_CP_STATS_DA
|
||||
#include "wlan_cp_stats_da_api.h"
|
||||
#else
|
||||
#include "wlan_cp_stats_defs.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wlan_cp_stats_psoc_obj_create_handler() - psoc create notification handler
|
||||
|
|
@ -128,19 +124,6 @@ QDF_STATUS wlan_cp_stats_peer_obj_create_handler(
|
|||
QDF_STATUS wlan_cp_stats_peer_obj_destroy_handler(
|
||||
struct wlan_objmgr_peer *peer, void *data);
|
||||
|
||||
#ifndef QCA_SUPPORT_CP_STATS_DA
|
||||
static inline
|
||||
QDF_STATUS wlan_cp_stats_ctx_init_da(struct cp_stats_context *csc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS wlan_cp_stats_ctx_deinit_da(struct cp_stats_context *csc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* QCA_SUPPORT_CP_STATS */
|
||||
#endif /* __WLAN_CP_STATS_OBJ_MGR_HANDLER_H__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue