From 72acff60ed1134610388f2dfdd85dcfc6259eabf Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 30 Dec 2018 10:16:21 -0800 Subject: [PATCH] qcacld-3.0: Remove typedef cfg80211_exttdls_callback Change Ib6407bb18bc77e92e1cdd3b38d6ff3051f03b74c ("qcacld-3.0: Remove unused tdls api in hdd") removed the last clients of cfg80211_exttdls_callback. Since it is obsolete, remove it. Change-Id: I90ffb7134698109f47449503e5f720f1ebf121e9 CRs-Fixed: 2376934 --- core/hdd/inc/wlan_hdd_tdls.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_tdls.h b/core/hdd/inc/wlan_hdd_tdls.h index 541f5c0ce4e0..f374c5de3f58 100644 --- a/core/hdd/inc/wlan_hdd_tdls.h +++ b/core/hdd/inc/wlan_hdd_tdls.h @@ -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 @@ -32,12 +32,6 @@ struct hdd_context; #define ENA_TDLS_BUFFER_STA (1 << 1) /* TDLS Buffer STA support */ #define ENA_TDLS_SLEEP_STA (1 << 2) /* TDLS Sleep STA support */ -typedef int (*cfg80211_exttdls_callback)(const uint8_t *mac, - uint32_t opclass, - uint32_t channel, - uint32_t state, - int32_t reason, void *ctx); - int wlan_hdd_tdls_get_all_peers(struct hdd_adapter *adapter, char *buf, int buflen);