Commit 5db79c0679e542a156de54e97be8901aeaa7638a

Authored by Ursula Braun
Committed by David S. Miller
1 parent ff2aed7da1

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -828,14 +828,14 @@
828 828 static int iucv_reboot_event(struct notifier_block *this,
829 829 unsigned long event, void *ptr)
830 830 {
831   - int i, rc;
  831 + int i;
832 832  
833 833 get_online_cpus();
834 834 on_each_cpu(iucv_block_cpu, NULL, 1);
835 835 preempt_disable();
836 836 for (i = 0; i < iucv_max_pathid; i++) {
837 837 if (iucv_path_table[i])
838   - rc = iucv_sever_pathid(i, NULL);
  838 + iucv_sever_pathid(i, NULL);
839 839 }
840 840 preempt_enable();
841 841 put_online_cpus();