]> git.baikalelectronics.ru Git - kernel.git/commit
net: tipc: Replace expression with offsetof()
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 29 Dec 2020 13:49:04 +0000 (21:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2021 23:43:41 +0000 (15:43 -0800)
commitf8e31c0459c96141dcc2d9cacf796c8520560ba9
tree5ea7450c52c0d9e17ae64ccecea85a09a7395fa9
parentd64ef4c0f0c636245e1d808e40a62e5847f8348d
net: tipc: Replace expression with offsetof()

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

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/monitor.c