RE: [PATCH rtw-next 6/6] wifi: rtlwifi: remove byte(), packet_get_type() and FILL_OCTET_STRING()

From: Ping-Ke Shih

Date: Mon Nov 16 2026 - 21:48:21 EST


Rishik Yechuri <epicrishik@xxxxxxxxx> wrote:
> byte() in wifi.h

No "in wifi.h".

Please write the commit messages yourself.

> has a single user. rtl8192se takes the low byte of the
> firmware header version with it, which is just a mask. Open code that
> as & 0xff.
>
> packet_get_type() and FILL_OCTET_STRING() have no users at all.
> packet_get_type() also refers to EF1BYTE(), which no longer exists in
> the driver, so it could not be used even if someone wanted to.
>
> Remove the three macros.
>
> No functional change intended.
>
> Signed-off-by: Rishik Yechuri <rishik.yechuri.code@xxxxxxxxx>
> Assisted-by: Claude:claude-fable-5-1