summary refs log tree commit diff
path: root/net/iucv/iucv.c
diff options
context:
space:
mode:
authorUrsula Braun <ursula.braun@de.ibm.com>2011-05-12 18:45:07 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-13 14:55:21 -0400
commit5db79c0679e542a156de54e97be8901aeaa7638a (patch)
treef156025fb7bba4d1fc30b733e61acd0f77bde728 /net/iucv/iucv.c
parentff2aed7da18781bb32ce675e4621475e4baae08f (diff)
downloadlinux-5db79c0679e542a156de54e97be8901aeaa7638a.tar.gz
iucv: get rid of compile warning
-Wunused-but-set-variable generates a compile warning. The affected
variable is removed.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv/iucv.c')
-rw-r--r--net/iucv/iucv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 8f156bd86be7..6c1483f90b46 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -828,14 +828,14 @@ EXPORT_SYMBOL(iucv_unregister);
 static int iucv_reboot_event(struct notifier_block *this,
 			     unsigned long event, void *ptr)
 {
-	int i, rc;
+	int i;
 
 	get_online_cpus();
 	on_each_cpu(iucv_block_cpu, NULL, 1);
 	preempt_disable();
 	for (i = 0; i < iucv_max_pathid; i++) {
 		if (iucv_path_table[i])
-			rc = iucv_sever_pathid(i, NULL);
+			iucv_sever_pathid(i, NULL);
 	}
 	preempt_enable();
 	put_online_cpus();