mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-25 17:53:34 -05:00
[PATCH] drivers/md/md.c: make md_new_event() static
Make the needlessly global function md_new_event() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
2989ddbd6e
commit
07dbd37727
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ static int start_readonly;
|
|||
*/
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue