From 38d66845c855b5334966d98baf8fee5026c9bbc0 Mon Sep 17 00:00:00 2001 From: Akshay Kosigi Date: Tue, 21 May 2019 14:29:12 +0530 Subject: [PATCH] qcacmn: Add change to remove CONFIG_WIN macro Add code to remove CONFIG_WIN macro from common UMAC's DFS module Change-Id: Iaa1a5d17d202733003c4be943c0995795d8dc86e CRs-Fixed: 2458658 --- umac/dfs/core/src/dfs_filter_init.h | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/umac/dfs/core/src/dfs_filter_init.h b/umac/dfs/core/src/dfs_filter_init.h index 10ac38897570..5b86d7a104fb 100644 --- a/umac/dfs/core/src/dfs_filter_init.h +++ b/umac/dfs/core/src/dfs_filter_init.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. * * * Permission to use, copy, modify, and/or distribute this software for @@ -88,26 +88,12 @@ static inline void dfs_main_timer_detach(struct wlan_dfs *dfs) } #endif -#ifdef CONFIG_WIN -#if DA_SUPPORT -#if defined(WLAN_DFS_DIRECT_ATTACH) +#if defined(DA_SUPPORT) && defined(WLAN_DFS_DIRECT_ATTACH) void dfs_get_da_radars(struct wlan_dfs *dfs); #else static inline void dfs_get_da_radars(struct wlan_dfs *dfs) { } #endif -#else -#define dfs_get_da_radars(dfs) /**/ -#endif /* _DA_SUPPORT_ */ -#else -#if defined(WLAN_DFS_DIRECT_ATTACH) -void dfs_get_da_radars(struct wlan_dfs *dfs); -#else -static inline void dfs_get_da_radars(struct wlan_dfs *dfs) -{ -} -#endif -#endif /* _CONFIG_WIN_ */ #endif /* _DFS_FILTER_INIT_H_ */