Skip to content

Commit a0fa8e3

Browse files
Michael HolzheuMartin Schwidefsky
authored andcommitted
[S390] s390dbf: Remove redundant initilizations.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 3e75a90 commit a0fa8e3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎arch/s390/kernel/debug.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ debug_input(struct file *file, const char __user *user_buf, size_t length,
603603
static int
604604
debug_open(struct inode *inode, struct file *file)
605605
{
606-
int i = 0, rc = 0;
606+
int i, rc = 0;
607607
file_private_info_t *p_info;
608608
debug_info_t *debug_info, *debug_info_snapshot;
609609

@@ -1155,7 +1155,6 @@ debug_unregister_view(debug_info_t * id, struct debug_view *view)
11551155
else {
11561156
debugfs_remove(id->debugfs_entries[i]);
11571157
id->views[i] = NULL;
1158-
rc = 0;
11591158
}
11601159
spin_unlock_irqrestore(&id->lock, flags);
11611160
out:

0 commit comments

Comments
 (0)