diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-01-01 13:07:12 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-02 13:36:57 -0700 |
commit | b823369b6faa33cc71b65eef9bebcefe622913dc (patch) | |
tree | a19953c74e8ebeedd60d00cd07f15747628f5b8d /include | |
parent | RDMA/rxe: Remove useless EXPORT_SYMBOL (diff) | |
download | linux-dev-b823369b6faa33cc71b65eef9bebcefe622913dc.tar.xz linux-dev-b823369b6faa33cc71b65eef9bebcefe622913dc.zip |
RDMA/netlink: Simplify code of autoload modules
The request_module() call is internally wrapped by CONFIG_MODULE,
so there is no need to check it in our RDMA code too.
Refactor to simplify the code.
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions