]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Replace include statement
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 30 Jun 2022 19:04:21 +0000 (14:04 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 30 Jun 2022 23:45:00 +0000 (20:45 -0300)
commit3f00aa33f80820b0cad44af2b1b42998c6a59ffd
tree7b9382de6a4d899f140d9369bd4eb6ed750772ea
parentf567f665c1ad5294b5b1328a76924ab5dd2bfa81
RDMA/rxe: Replace include statement

rxe_queue.h currently includes <uapi/rdma/rdma_user_rxe.h> for a
definition of struct rxe_queue_buf. But it is only used as a pointer so
the definition is not needed.

This patch replaces the include statement with the declaration

     struct rxe_queue_buf;

Link: https://lore.kernel.org/r/20220630190425.2251-5-rpearsonhpe@gmail.com
Reported-by: Frank Zago <frank.zago@hpe.com>
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_queue.h