From 59f8ee46a541b0b88e2a7e87d41544ce9029c8c5 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 26 Dec 2018 20:16:52 -0800 Subject: [PATCH] qcacld-3.0: Remove ucPatternIdBitmap from tSirDelPeriodicTxPtrn Field ucPatternIdBitmap in tSirDelPeriodicTxPtrn serves no purpose, so remove it. Change-Id: I966983c3dea674e61ccf4d06473ea21448484a4c CRs-Fixed: 2374277 --- core/hdd/src/wlan_hdd_debugfs.c | 3 +-- core/mac/inc/sir_api.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_debugfs.c b/core/hdd/src/wlan_hdd_debugfs.c index eeb2bf44d95d..e557dd2e8999 100644 --- a/core/hdd/src/wlan_hdd_debugfs.c +++ b/core/hdd/src/wlan_hdd_debugfs.c @@ -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 @@ -302,7 +302,6 @@ static ssize_t __wcnss_patterngen_write(struct file *file, return -ENOMEM; } delPeriodicTxPtrnParams->ucPtrnId = pattern_idx; - delPeriodicTxPtrnParams->ucPatternIdBitmap = 1 << pattern_idx; qdf_copy_macaddr(&delPeriodicTxPtrnParams->mac_address, &adapter->mac_addr); diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index d3203157f2df..fd8bb785c6f9 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -2978,8 +2978,6 @@ typedef struct sSirAddPeriodicTxPtrn { typedef struct sSirDelPeriodicTxPtrn { /* MAC Address for the adapter */ struct qdf_mac_addr mac_address; - /* Bitmap of pattern IDs that need to be deleted */ - uint32_t ucPatternIdBitmap; uint8_t ucPtrnId; /* Pattern ID */ } tSirDelPeriodicTxPtrn, *tpSirDelPeriodicTxPtrn;