Messages in this thread Patch in this message | | | Date | Thu, 15 Dec 2005 22:24:55 +0100 | From | Adrian Bunk <> | Subject | [-mm patch] drivers/md/md.c: make md_new_event() static |
| |
This patch makes the needlessly global function md_new_event() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |