Skip to content

Commit 594e545

Browse files
author
Luke Robison
committed
mtl/ofi: remove useless circular #include
mtl_ofi_request.h previously included mtl_ofi.h, however mtl_ofi.h is in fact the only file to include mtl_ofi_request.h. The standard header guards (MTL_OFI_H_HAS_BEEN_INCLUDED) prevented true circular dependency, and makes the include statement useless. This commit removes the usless include. Signed-off-by: Luke Robison <[email protected]>
1 parent f6e7a8f commit 594e545

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ompi/mca/mtl/ofi/mtl_ofi_request.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#ifndef OMPI_MTL_OFI_REQUEST_H
1414
#define OMPI_MTL_OFI_REQUEST_H
1515

16-
#include "mtl_ofi.h"
17-
1816
#ifndef container_of
1917
# define container_of(ptr, type, member) ((type *) (((char *) (ptr)) - offsetof(type, member)))
2018
#endif

0 commit comments

Comments
 (0)