]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: Remove redundant MAC_ARG macro
authorYuvraj Singh Chauhan <ysinghcin@gmail.com>
Fri, 26 Dec 2025 01:30:35 +0000 (07:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 12:52:10 +0000 (13:52 +0100)
commit0cbf955a296657a874da94e1d19b05f4ca4987c9
tree86840b05ba943bc27a94d22c829f0a54c3c24d21
parentcf0f2680c30d4b438a5e84b73dc70be405936b54
staging: rtl8723bs: Remove redundant MAC_ARG macro

The MAC_ARG(x) macro is a useless identity macro that just returns its
argument unchanged. It was used alongside the %pM format specifier for
printing MAC addresses, but %pM already handles MAC address formatting
directly without needing any wrapper macro.

This commit removes the macro definition from both:

include/osdep_service.h
include/ieee80211.h

And removes all 6 usages throughout the driver

Signed-off-by: Yuvraj Singh Chauhan <ysinghcin@gmail.com>
Link: https://patch.msgid.link/20251226013035.206284-1-ysinghcin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/core/rtw_wlan_util.c
drivers/staging/rtl8723bs/include/ieee80211.h
drivers/staging/rtl8723bs/include/osdep_service.h