qcacld-3.0: Fix clang compilation warnings

Fix clang compilation warnings.

Change-Id: I8c766c9062672608db60c583a46af2bc86bbba8c
CRs-Fixed: 2055487
This commit is contained in:
Srinivas Girigowda
2018-03-22 09:37:02 -07:00
committed by nshrivas
parent 5cd9be3a5c
commit e1282d4fbf
3 changed files with 4 additions and 16 deletions

View File

@@ -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. * 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; struct ol_txrx_peer_t;
typedef struct ol_txrx_peer_t *ol_txrx_peer_handle; 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 */ #endif /* _DEV_OL_DEFINES_H */

View File

@@ -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. * 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); 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. * @brief Store a delivery notification callback for specific data frames.
* @details * @details

View File

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