Skip to content

Commit ee6664d

Browse files
anna-marialxKAGA-KOKO
authored andcommitted
x86/vgtod: Remove unused typedef gtod_long_t
The typedef gtod_long_t is not used anymore so remove it. The header file contains then only includes dependent on CONFIG_GENERIC_GETTIMEOFDAY to not break ARCH=um. Nevertheless, keep the header file only with those includes to prevent spreading ifdeffery all over the place. Signed-off-by: Anna-Maria Behnsen <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7239ae7 commit ee6664d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/include/asm/vgtod.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
#include <uapi/linux/time.h>
1616

17-
#ifdef BUILD_VDSO32_64
18-
typedef u64 gtod_long_t;
19-
#else
20-
typedef unsigned long gtod_long_t;
21-
#endif
2217
#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
2318

2419
#endif /* _ASM_X86_VGTOD_H */

0 commit comments

Comments
 (0)