summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/irq.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-01 20:48:34 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 14:13:35 -0400
commitfbd387aea0cb98c9d6e534c55d3d2ac83153348d (patch)
tree7263224fb19ddaa970cc381dcd2d76dbdb659f84 /arch/s390/kernel/irq.c
parentb177a29251081576df35cfbcb0f7d7c80deceb8b (diff)
downloadlinux-fbd387aea0cb98c9d6e534c55d3d2ac83153348d.tar.gz
linux-fbd387aea0cb98c9d6e534c55d3d2ac83153348d.tar.bz2
linux-fbd387aea0cb98c9d6e534c55d3d2ac83153348d.zip
create_proc_cpu_mask() doesn't need an argument...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390/kernel/irq.c')
-rw-r--r--arch/s390/kernel/irq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
index 1630f439cd2a..1580af3db31a 100644
--- a/arch/s390/kernel/irq.c
+++ b/arch/s390/kernel/irq.c
@@ -162,10 +162,8 @@ asmlinkage void do_softirq(void)
#ifdef CONFIG_PROC_FS
void init_irq_proc(void)
{
- struct proc_dir_entry *root_irq_dir;
-
- root_irq_dir = proc_mkdir("irq", NULL);
- create_prof_cpu_mask(root_irq_dir);
+ if (proc_mkdir("irq", NULL))
+ create_prof_cpu_mask();
}
#endif