Skip to content

Commit

Permalink
mtl/ofi: remove useless circular #include
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
lrbison committed Aug 1, 2024
1 parent f6e7a8f commit 594e545
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ompi/mca/mtl/ofi/mtl_ofi_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#ifndef OMPI_MTL_OFI_REQUEST_H
#define OMPI_MTL_OFI_REQUEST_H

#include "mtl_ofi.h"

#ifndef container_of
# define container_of(ptr, type, member) ((type *) (((char *) (ptr)) - offsetof(type, member)))
#endif
Expand Down

0 comments on commit 594e545

Please sign in to comment.