summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorIgor Prusov <[email protected]>2023-11-09 20:10:04 +0300
committerTom Rini <[email protected]>2023-11-16 18:59:58 -0500
commit13248d66aeea02afc120ba83075e1af32cefd592 (patch)
tree3b74811fd4b0b28ed73e696af95965c97e162ce0 /fs
parent35425507b3253bb1e08110f67e130e7c9c272cf7 (diff)
treewide: use linux/time.h for time conversion defines
Now that we have time conversion defines from in time.h there is no need for each driver to define their own version. Signed-off-by: Igor Prusov <[email protected]> Reviewed-by: Svyatoslav Ryhel <[email protected]> # tegra Reviewed-by: Eugen Hristev <[email protected]> #at91 Reviewed-by: Caleb Connolly <[email protected]> #qcom geni Reviewed-by: Stefan Bosch <[email protected]> #nanopi2 Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/ubifs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 67b13c83b56..b4e761c3668 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -68,7 +68,6 @@ struct page {
void iput(struct inode *inode);
/* linux/include/time.h */
-#define NSEC_PER_SEC 1000000000L
#define get_seconds() 0
#define CURRENT_TIME_SEC ((struct timespec) { get_seconds(), 0 })