Skip to content

Commit a59b113

Browse files
committed
mi: drop the types.h include
The tree.h included already does include types.h. Thus it's possible to drop this include. Signed-off-by: Daniel Wagner <[email protected]>
1 parent e9f5626 commit a59b113

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • libnvme/src/nvme

libnvme/src/nvme/mi.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,11 @@
8080
* 1.1, where possible.
8181
*
8282
*/
83-
84-
#ifndef _LIBNVME_MI_MI_H
85-
#define _LIBNVME_MI_MI_H
83+
#pragma once
8684

8785
#include <endian.h>
8886
#include <stdint.h>
8987

90-
#include <nvme/types.h>
9188
#include <nvme/tree.h>
9289

9390
/**
@@ -1552,5 +1549,3 @@ int nvme_mi_aem_disable(nvme_mi_ep_t ep);
15521549
* Return: 0 is a success, nonzero is an error and errno may be read for further details
15531550
*/
15541551
int nvme_mi_aem_process(nvme_mi_ep_t ep, void *userdata);
1555-
1556-
#endif /* _LIBNVME_MI_MI_H */

0 commit comments

Comments
 (0)