drivers/md/md.c: make md_new_event() static
PATCH 1/1 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 <[email protected]>
drivers/md/md.c renamed from drivers/md/md.c.old +1 -1
@@ -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); }