mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-18 10:34:24 +08:00
[PATCH] drivers/md/md.c: make code static
Make needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
f655675b3f
commit
0538195424
@ -175,7 +175,7 @@ EXPORT_SYMBOL_GPL(md_new_event);
|
|||||||
/* Alternate version that can be called from interrupts
|
/* Alternate version that can be called from interrupts
|
||||||
* when calling sysfs_notify isn't needed.
|
* when calling sysfs_notify isn't needed.
|
||||||
*/
|
*/
|
||||||
void md_new_event_inintr(mddev_t *mddev)
|
static void md_new_event_inintr(mddev_t *mddev)
|
||||||
{
|
{
|
||||||
atomic_inc(&md_event_count);
|
atomic_inc(&md_event_count);
|
||||||
wake_up(&md_event_waiters);
|
wake_up(&md_event_waiters);
|
||||||
@ -2309,7 +2309,7 @@ __ATTR(resync_start, 0644, resync_start_show, resync_start_store);
|
|||||||
*/
|
*/
|
||||||
enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active,
|
enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active,
|
||||||
write_pending, active_idle, bad_word};
|
write_pending, active_idle, bad_word};
|
||||||
char *array_states[] = {
|
static char *array_states[] = {
|
||||||
"clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active",
|
"clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active",
|
||||||
"write-pending", "active-idle", NULL };
|
"write-pending", "active-idle", NULL };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user