[-mm patch] drivers/md/md.c: make md_new_event() static

From: Adrian Bunk
Date: Thu Dec 15 2005 - 16:24:39 EST


This patch makes the needlessly global function md_new_event() static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.15-rc5-mm3-full/drivers/md/md.c.old 2005-12-15 15:51:16.000000000 +0100
+++ linux-2.6.15-rc5-mm3-full/drivers/md/md.c 2005-12-15 15:51:31.000000000 +0100
@@ -156,11 +156,11 @@
* start array, stop array, error, add device, remove device,
* start build, activate spare
*/
static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters);
static atomic_t md_event_count;
-void md_new_event(mddev_t *mddev)
+static void md_new_event(mddev_t *mddev)
{
atomic_inc(&md_event_count);
wake_up(&md_event_waiters);
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/