diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2021-07-06 23:00:39 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-07-16 12:43:34 -0300 |
commit | add2b3b80e3a9b8f06562efe79b44809f64640db (patch) | |
tree | 212fcfa2754ca8c677eb34b3735ac8336e50c4ed /drivers/infiniband/sw/rxe/rxe.h | |
parent | RDMA/rxe: Fixup rxe_icrc_hdr (diff) | |
download | linux-dev-add2b3b80e3a9b8f06562efe79b44809f64640db.tar.xz linux-dev-add2b3b80e3a9b8f06562efe79b44809f64640db.zip |
RDMA/rxe: Move crc32 init code to rxe_icrc.c
This patch collects the code from rxe_register_device() that sets up the
crc32 calculation into a subroutine rxe_icrc_init() in rxe_icrc.c.
Link: https://lore.kernel.org/r/20210707040040.15434-8-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe.h b/drivers/infiniband/sw/rxe/rxe.h index 65a73c1c8b35..1bb3fb618bf5 100644 --- a/drivers/infiniband/sw/rxe/rxe.h +++ b/drivers/infiniband/sw/rxe/rxe.h @@ -14,7 +14,6 @@ #include <linux/module.h> #include <linux/skbuff.h> -#include <linux/crc32.h> #include <rdma/ib_verbs.h> #include <rdma/ib_user_verbs.h> |