summaryrefslogtreecommitdiffstats
path: root/net
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
parentff2aed7da18781bb32ce675e4621475e4baae08f (diff)
downloadop-kernel-dev-5db79c0679e542a156de54e97be8901aeaa7638a.zip
op-kernel-dev-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')
-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 8f156bd..6c1483f 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();
OpenPOWER on IntegriCloud