diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2009-03-26 10:24:49 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:29 -0400 |
commit | a0fa8e3743c80643a06a770b95e73e751548ab17 (patch) | |
tree | 4aee04c31175f28ecfcf3441e2043cf0e32d3c12 /arch/s390/kernel/debug.c | |
parent | 3e75a902196c45d26d5e28014eb2d9821aa9794f (diff) |
[S390] s390dbf: Remove redundant initilizations.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/debug.c')
-rw-r--r-- | arch/s390/kernel/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index 39137b9e1622..369de12b8733 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c | |||
@@ -603,7 +603,7 @@ debug_input(struct file *file, const char __user *user_buf, size_t length, | |||
603 | static int | 603 | static int |
604 | debug_open(struct inode *inode, struct file *file) | 604 | debug_open(struct inode *inode, struct file *file) |
605 | { | 605 | { |
606 | int i = 0, rc = 0; | 606 | int i, rc = 0; |
607 | file_private_info_t *p_info; | 607 | file_private_info_t *p_info; |
608 | debug_info_t *debug_info, *debug_info_snapshot; | 608 | debug_info_t *debug_info, *debug_info_snapshot; |
609 | 609 | ||
@@ -1155,7 +1155,6 @@ debug_unregister_view(debug_info_t * id, struct debug_view *view) | |||
1155 | else { | 1155 | else { |
1156 | debugfs_remove(id->debugfs_entries[i]); | 1156 | debugfs_remove(id->debugfs_entries[i]); |
1157 | id->views[i] = NULL; | 1157 | id->views[i] = NULL; |
1158 | rc = 0; | ||
1159 | } | 1158 | } |
1160 | spin_unlock_irqrestore(&id->lock, flags); | 1159 | spin_unlock_irqrestore(&id->lock, flags); |
1161 | out: | 1160 | out: |