From 0ad556031c3277c17c82b0936ff359eca5ecf6ff Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 27 Dec 2018 18:33:20 -0800 Subject: [PATCH] qcacld-3.0: Remove unused channel fields from csr_roamstruct The following channel-related fields in struct csr_roamstruct are unused, so remove them: - baseChannels - channelList24 - channelList5G - numChannelsEeprom Change-Id: Ia44e386496e36ba15bcb1c39c6190d0331603903 CRs-Fixed: 2374836 --- core/sme/inc/csr_internal.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/sme/inc/csr_internal.h b/core/sme/inc/csr_internal.h index 67bcc2ac58..c89108972b 100644 --- a/core/sme/inc/csr_internal.h +++ b/core/sme/inc/csr_internal.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-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 @@ -755,11 +755,7 @@ struct csr_roam_session { struct csr_roamstruct { uint32_t nextRoamId; - tDblLinkList channelList5G; - tDblLinkList channelList24; struct csr_config configParam; - uint32_t numChannelsEeprom; /* total channels of eeprom */ - struct csr_channel baseChannels; /* The channel base to work on */ enum csr_roam_state curState[CSR_ROAM_SESSION_MAX]; enum csr_roam_substate curSubState[CSR_ROAM_SESSION_MAX]; /*