Skip to contentSkip to conversation

drivers/md/md.c: make md_new_event() static

PATCH New Adrian Bunk 1 participant 1 message Dec 15, 2005 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/md/md.c: make md_new_event() static

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

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);
 }