Skip to content

Commit

Permalink
iucv: get rid of compile warning
Browse files Browse the repository at this point in the history
-Wunused-but-set-variable generates a compile warning. The affected
variable is removed.

Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: Frank Blaschka <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
braunu authored and davem330 committed May 13, 2011
1 parent ff2aed7 commit 5db79c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/iucv/iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5db79c0

Please sign in to comment.