瀏覽代碼

[PATCH] uml: remove useless declaration

wall_to_monotonic isn't used in this file, so we can remove the declaration.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike 19 年之前
父節點
當前提交
9914aee827
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      arch/um/os-Linux/time.c

+ 0 - 5
arch/um/os-Linux/time.c

@@ -17,11 +17,6 @@
 #include "kern_constants.h"
 #include "kern_constants.h"
 #include "os.h"
 #include "os.h"
 
 
-/* XXX This really needs to be declared and initialized in a kernel file since
- * it's in <linux/time.h>
- */
-extern struct timespec wall_to_monotonic;
-
 static void set_interval(int timer_type)
 static void set_interval(int timer_type)
 {
 {
 	int usec = 1000000/hz();
 	int usec = 1000000/hz();