diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2011-05-12 14:45:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-13 14:55:21 -0400 |
commit | 5db79c0679e542a156de54e97be8901aeaa7638a (patch) | |
tree | f156025fb7bba4d1fc30b733e61acd0f77bde728 /net/iucv | |
parent | ff2aed7da18781bb32ce675e4621475e4baae08f (diff) |
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')
-rw-r--r-- | net/iucv/iucv.c | 4 |
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); | |||
828 | static int iucv_reboot_event(struct notifier_block *this, | 828 | static int iucv_reboot_event(struct notifier_block *this, |
829 | unsigned long event, void *ptr) | 829 | unsigned long event, void *ptr) |
830 | { | 830 | { |
831 | int i, rc; | 831 | int i; |
832 | 832 | ||
833 | get_online_cpus(); | 833 | get_online_cpus(); |
834 | on_each_cpu(iucv_block_cpu, NULL, 1); | 834 | on_each_cpu(iucv_block_cpu, NULL, 1); |
835 | preempt_disable(); | 835 | preempt_disable(); |
836 | for (i = 0; i < iucv_max_pathid; i++) { | 836 | for (i = 0; i < iucv_max_pathid; i++) { |
837 | if (iucv_path_table[i]) | 837 | if (iucv_path_table[i]) |
838 | rc = iucv_sever_pathid(i, NULL); | 838 | iucv_sever_pathid(i, NULL); |
839 | } | 839 | } |
840 | preempt_enable(); | 840 | preempt_enable(); |
841 | put_online_cpus(); | 841 | put_online_cpus(); |