From: Michael Holzheu Date: Thu, 26 Mar 2009 14:24:49 +0000 (+0100) Subject: [S390] s390dbf: Remove redundant initilizations. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a0fa8e3743c80643a06a770b95e73e751548ab17;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [S390] s390dbf: Remove redundant initilizations. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky --- 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, static int debug_open(struct inode *inode, struct file *file) { - int i = 0, rc = 0; + int i, rc = 0; file_private_info_t *p_info; debug_info_t *debug_info, *debug_info_snapshot; @@ -1155,7 +1155,6 @@ debug_unregister_view(debug_info_t * id, struct debug_view *view) else { debugfs_remove(id->debugfs_entries[i]); id->views[i] = NULL; - rc = 0; } spin_unlock_irqrestore(&id->lock, flags); out: