RDMA/mlx4: Delete duplicated offsetofend implementation
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 10 Mar 2020 09:14:29 +0000 (11:14 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 13 Mar 2020 13:42:48 +0000 (10:42 -0300)
commit282e79c1c61a119a8b41bf0c1d82a0ac7cc76488
tree700e35f490108262172e045b9f8216b5df2cea77
parent41e684ef3f37ce6e5eac3fb5b9c7c1853f4b0447
RDMA/mlx4: Delete duplicated offsetofend implementation

Convert mlx4 to use in-kernel offsetofend() instead
of its duplicated implementation.

Link: https://lore.kernel.org/r/20200310091438.248429-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/main.c