qcacmn: Remove QDF_MAC_ADDR_ZERO_INITIALIZER
QDF_MAC_ADDR_ZERO_INITIALIZER has been depreciated in favor of QDF_MAC_ADDR_ZERO_INIT. Replace all usages with the new macro. Change-Id: I565a01fe3c75da645d5f410ce2c54f02034fb14c CRs-Fixed: 2176469
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -225,7 +225,7 @@ static inline bool qdf_is_macaddr_equal(struct qdf_mac_addr *mac_addr1,
|
||||
*/
|
||||
static inline bool qdf_is_macaddr_zero(struct qdf_mac_addr *mac_addr)
|
||||
{
|
||||
struct qdf_mac_addr zero_mac_addr = QDF_MAC_ADDR_ZERO_INITIALIZER;
|
||||
struct qdf_mac_addr zero_mac_addr = QDF_MAC_ADDR_ZERO_INIT;
|
||||
|
||||
return qdf_is_macaddr_equal(mac_addr, &zero_mac_addr);
|
||||
}
|
||||
|
مرجع در شماره جدید
Block a user