Преглед изворни кода

qcacld-3.0: Fix clang compilation warnings

Fix clang compilation warnings.

Change-Id: I8c766c9062672608db60c583a46af2bc86bbba8c
CRs-Fixed: 2055487
Srinivas Girigowda пре 7 година
родитељ
комит
e1282d4fbf
3 измењених фајлова са 4 додато и 16 уклоњено
  1. 1 7
      core/dp/ol/inc/ol_defines.h
  2. 1 7
      core/dp/ol/inc/ol_txrx_ctrl_api.h
  3. 2 2
      core/mac/inc/sir_mac_prot_def.h

+ 1 - 7
core/dp/ol/inc/ol_defines.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2014, 2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2014, 2016, 2018 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -66,10 +66,4 @@ typedef struct ol_pdev_t *ol_pdev_handle;
 struct ol_txrx_peer_t;
 typedef struct ol_txrx_peer_t *ol_txrx_peer_handle;
 
-/**
- * @wmi_event_handler function prototype
- */
-typedef int (*wmi_unified_event_handler)(ol_scn_t scn_handle,
-					 uint8_t *event_buf, uint32_t len);
-
 #endif /* _DEV_OL_DEFINES_H */

+ 1 - 7
core/dp/ol/inc/ol_txrx_ctrl_api.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -280,12 +280,6 @@ void ol_txrx_pdev_unpause(struct ol_txrx_pdev_t *pdev, uint32_t reason)
  */
 void ol_txrx_tx_sync(ol_txrx_pdev_handle data_pdev, uint8_t sync_cnt);
 
-typedef void (*ol_txrx_vdev_delete_cb)(void *context);
-
-
-typedef void
-(*ol_txrx_data_tx_cb)(void *ctxt, qdf_nbuf_t tx_frm, int had_error);
-
 /**
  * @brief Store a delivery notification callback for specific data frames.
  * @details

+ 2 - 2
core/mac/inc/sir_mac_prot_def.h

@@ -1035,11 +1035,11 @@ typedef struct sSirMacWpaInfo {
 	uint8_t info[SIR_MAC_MAX_IE_LENGTH];
 } qdf_packed tSirMacWpaInfo, *tpSirMacWpaInfo,
 tSirMacRsnInfo, *tpSirMacRsnInfo;
+
 typedef struct sSirMacWapiInfo {
 	uint8_t length;
 	uint8_t info[SIR_MAC_MAX_IE_LENGTH];
-} qdf_packed tSirMacWapiInfo, *tpSirMacWapiInfo,
-tSirMacWapiInfo, *tpSirMacWapiInfo;
+} qdf_packed tSirMacWapiInfo, *tpSirMacWapiInfo;
 
 typedef struct sSirMacFHParamSet {
 	uint16_t dwellTime;