summaryrefslogtreecommitdiffstats
path: root/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to 'nvme.h')
-rw-r--r--nvme.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/nvme.h b/nvme.h
index c13ca8e..1938afb 100644
--- a/nvme.h
+++ b/nvme.h
@@ -114,12 +114,6 @@ const char *nvme_strerror(int errnum);
unsigned long long elapsed_utime(struct timeval start_time,
struct timeval end_time);
-static inline void nvme_strip_spaces(char *s, int l)
-{
- while (l && (s[l] == '\0' || s[l] == ' '))
- s[l--] = '\0';
-}
-
/* nvme-print.c */
const char *nvme_select_to_string(int sel);