qcacld-3.0: Remove ucPatternIdBitmap from tSirDelPeriodicTxPtrn

Field ucPatternIdBitmap in tSirDelPeriodicTxPtrn serves no purpose, so
remove it.

Change-Id: I966983c3dea674e61ccf4d06473ea21448484a4c
CRs-Fixed: 2374277
This commit is contained in:
Jeff Johnson 2018-12-26 20:16:52 -08:00 • committed by nshrivas
commit 59f8ee46a5
2 changed files with 1 additions and 4 deletions

View file

@ -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);

View file

@ -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;