]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: unisys: remove OFFSETOF from commontypes
authorBenjamin Romer <benjamin.romer@unisys.com>
Sun, 3 Aug 2014 02:03:41 +0000 (22:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:06 +0000 (12:23 -0700)
commit2e4701ae2cfe5dc45a320a647b498fd9f2527b35
tree311a36267dc86eadf1738d622b90b2062abf89d4
parentaf96e9c058ff620b78292945e24a9d044b0d6f97
staging: unisys: remove OFFSETOF from commontypes

The only place OFFSETOF was being used was in iochannel.h. Remove the macro
from commontypes.h and replace all uses of it in iochannel.h with offsetof()
instead.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/iochannel.h
drivers/staging/unisys/include/commontypes.h