From 473f76a26006bf9db8955b55ac7182f6a7db76ef Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 27 Dec 2018 22:39:40 -0800 Subject: [PATCH] qcacld-3.0: Remove TDLS_STA_INDEX_VALID Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS: remove legacy core functions") removed all uses of macro TDLS_STA_INDEX_VALID. Since it is now unused, remove it. Change-Id: Iefec2b4565f4a387778ccd5a4ed7e0d9eb9b732e CRs-Fixed: 2375416 --- core/hdd/inc/wlan_hdd_assoc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_assoc.h b/core/hdd/inc/wlan_hdd_assoc.h index bf098fe391bd..325cf2cf6693 100644 --- a/core/hdd/inc/wlan_hdd_assoc.h +++ b/core/hdd/inc/wlan_hdd_assoc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-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 @@ -37,8 +37,6 @@ #ifdef FEATURE_WLAN_TDLS #define HDD_MAX_NUM_TDLS_STA 8 #define HDD_MAX_NUM_TDLS_STA_P_UAPSD_OFFCHAN 1 -#define TDLS_STA_INDEX_VALID(staId) \ - (((staId) >= 0) && ((staId) < 0xFF)) #else #define HDD_MAX_NUM_TDLS_STA 0