summaryrefslogtreecommitdiffstats
path: root/nvme-status.h
diff options
context:
space:
mode:
Diffstat (limited to 'nvme-status.h')
-rw-r--r--nvme-status.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/nvme-status.h b/nvme-status.h
deleted file mode 100644
index 92a474c..0000000
--- a/nvme-status.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <linux/types.h>
-#include <stdbool.h>
-
-/*
- * nvme_status_type - It gives SCT(Status Code Type) in status field in
- * completion queue entry.
- * @status: status field located at DW3 in completion queue entry
- */
-static inline __u8 nvme_status_type(__u16 status)
-{
- return (status & 0x700) >> 8;
-}
-
-__u8 nvme_status_to_errno(int status, bool fabrics);