Browse Source

qcacld-3.0: Remove ucPatternIdBitmap from tSirDelPeriodicTxPtrn

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

Change-Id: I966983c3dea674e61ccf4d06473ea21448484a4c
CRs-Fixed: 2374277
Jeff Johnson 6 years ago
parent
commit
59f8ee46a5
2 changed files with 1 additions and 4 deletions
  1. 1 2
      core/hdd/src/wlan_hdd_debugfs.c
  2. 0 2
      core/mac/inc/sir_api.h

+ 1 - 2
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
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * 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;
 			return -ENOMEM;
 		}
 		}
 		delPeriodicTxPtrnParams->ucPtrnId = pattern_idx;
 		delPeriodicTxPtrnParams->ucPtrnId = pattern_idx;
-		delPeriodicTxPtrnParams->ucPatternIdBitmap = 1 << pattern_idx;
 		qdf_copy_macaddr(&delPeriodicTxPtrnParams->mac_address,
 		qdf_copy_macaddr(&delPeriodicTxPtrnParams->mac_address,
 				 &adapter->mac_addr);
 				 &adapter->mac_addr);
 
 

+ 0 - 2
core/mac/inc/sir_api.h

@@ -2978,8 +2978,6 @@ typedef struct sSirAddPeriodicTxPtrn {
 typedef struct sSirDelPeriodicTxPtrn {
 typedef struct sSirDelPeriodicTxPtrn {
 	/* MAC Address for the adapter */
 	/* MAC Address for the adapter */
 	struct qdf_mac_addr mac_address;
 	struct qdf_mac_addr mac_address;
-	/* Bitmap of pattern IDs that need to be deleted */
-	uint32_t ucPatternIdBitmap;
 	uint8_t ucPtrnId;       /* Pattern ID */
 	uint8_t ucPtrnId;       /* Pattern ID */
 } tSirDelPeriodicTxPtrn, *tpSirDelPeriodicTxPtrn;
 } tSirDelPeriodicTxPtrn, *tpSirDelPeriodicTxPtrn;