Skip to content
Commit 2becc421 authored by Mauro Dreissig's avatar Mauro Dreissig Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: Replace FIELD_OFFSET() with offsetof()



Use the existing offsetof() macro instead of duplicating code.

Signed-off-by: default avatarMauro Dreissig <mukadr@gmail.com>
Link: https://lore.kernel.org/r/20200701214420.5566-2-mukadr@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd7a168a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment