- Updated to 3.2-rc7.
[linux-flexiantxendom0-3.2.10.git] / drivers / xen / xenbus / xenbus_xs.c
index a7b45ed..f425225 100644 (file)
@@ -627,17 +627,6 @@ static struct xenbus_watch *find_watch(const char *token)
        return NULL;
 }
 
-static void xs_reset_watches(void)
-{
-#ifndef CONFIG_XEN
-       int err;
-
-       err = xs_error(xs_single(XBT_NIL, XS_RESET_WATCHES, "", NULL));
-       if (err && err != -EEXIST)
-               printk(KERN_WARNING "xs_reset_watches failed: %d\n", err);
-#endif
-}
-
 /* Register callback to watch this node. */
 int register_xenbus_watch(struct xenbus_watch *watch)
 {
@@ -957,11 +946,5 @@ int xs_init(void)
        if (IS_ERR(task))
                return PTR_ERR(task);
 
-       /* shutdown watches for kexec boot */
-#ifdef CONFIG_PARAVIRT_XEN
-       if (xen_hvm_domain())
-#endif
-               xs_reset_watches();
-
        return 0;
 }