dm-snap.c: Remove check_free_space()

--- diff/drivers/md/dm-snap.c	2004-05-27 14:24:24.000000000 +0100
+++ source/drivers/md/dm-snap.c	2004-05-27 14:24:28.000000000 +0100
@@ -608,29 +608,6 @@
 	return NULL;
 }
 
-static void check_free_space(struct dm_snapshot *s)
-{
-#if 0
-	sector_t numerator, denominator;
-	double n, d;
-	unsigned pc;
-
-	if (!s->store.fraction_full)
-		return;
-
-	s->store.fraction_full(&s->store, &numerator, &denominator);
-	n = (double) numerator;
-	d = (double) denominator;
-
-	pc = (int) (n / d);
-
-	if (pc >= s->last_percent + WAKE_UP_PERCENT) {
-		dm_table_event(s->table);
-		s->last_percent = pc - pc % WAKE_UP_PERCENT;
-	}
-#endif
-}
-
 static void pending_complete(struct pending_exception *pe, int success)
 {
 	struct exception *e;
@@ -667,9 +644,6 @@
 		flush_bios(bio_list_get(&pe->snapshot_bios));
 		DMDEBUG("Exception completed successfully.");
 
-		/* Notify any interested parties */
-		//check_free_space(s);
-
 	} else {
 		/* Read/write error - snapshot is unusable */
 		down_write(&s->lock);
