mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
staging: rtl8723bs: remove IP_FMT macro
Remove unnecessary macro for %pI4 and call it directly. Signed-off-by: Ross Schmidt <ross.schm.dev@gmail.com> Link: https://lore.kernel.org/r/20201105034754.12383-3-ross.schm.dev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5d4ea6b452
commit
5e364ea5ea
@@ -416,7 +416,7 @@ static void ConstructARPResponse(
|
||||
SET_ARP_PKT_TARGET_MAC_ADDR(pARPRspPkt, get_my_bssid(&(pmlmeinfo->network)));
|
||||
SET_ARP_PKT_TARGET_IP_ADDR(pARPRspPkt, pIPAddress);
|
||||
DBG_871X("%s Target Mac Addr:%pM\n", __func__, MAC_ARG(get_my_bssid(&(pmlmeinfo->network))));
|
||||
DBG_871X("%s Target IP Addr" IP_FMT "\n", __func__, IP_ARG(pIPAddress));
|
||||
DBG_871X("%s Target IP Addr:%pI4\n", __func__, IP_ARG(pIPAddress));
|
||||
}
|
||||
|
||||
*pLength += 28;
|
||||
@@ -738,7 +738,7 @@ static void ConstructProbeRsp(struct adapter *padapter, u8 *pframe, u32 *pLength
|
||||
memcpy(pwlanhdr->addr3, bssid, ETH_ALEN);
|
||||
|
||||
DBG_871X("%s FW Mac Addr:%pM\n", __func__, MAC_ARG(mac));
|
||||
DBG_871X("%s FW IP Addr" IP_FMT "\n", __func__, IP_ARG(StaAddr));
|
||||
DBG_871X("%s FW IP Addr:%pI4\n", __func__, IP_ARG(StaAddr));
|
||||
|
||||
SetSeqNum(pwlanhdr, 0);
|
||||
SetFrameSubType(fctrl, WIFI_PROBERSP);
|
||||
|
||||
@@ -845,7 +845,6 @@ enum ieee80211_state {
|
||||
#define DEFAULT_MAX_SCAN_AGE (15 * HZ)
|
||||
#define DEFAULT_FTS 2346
|
||||
#define MAC_ARG(x) (x)
|
||||
#define IP_FMT "%pI4"
|
||||
#define IP_ARG(x) (x)
|
||||
|
||||
static inline int is_multicast_mac_addr(const u8 *addr)
|
||||
|
||||
Reference in New Issue
Block a user