Skip to content

Commit 5db79c0

Browse files
braunudavem330
authored andcommitted
iucv: get rid of compile warning
-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]>
1 parent ff2aed7 commit 5db79c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/iucv/iucv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,14 +828,14 @@ EXPORT_SYMBOL(iucv_unregister);
828828
static int iucv_reboot_event(struct notifier_block *this,
829829
unsigned long event, void *ptr)
830830
{
831-
int i, rc;
831+
int i;
832832

833833
get_online_cpus();
834834
on_each_cpu(iucv_block_cpu, NULL, 1);
835835
preempt_disable();
836836
for (i = 0; i < iucv_max_pathid; i++) {
837837
if (iucv_path_table[i])
838-
rc = iucv_sever_pathid(i, NULL);
838+
iucv_sever_pathid(i, NULL);
839839
}
840840
preempt_enable();
841841
put_online_cpus();

0 commit comments

Comments
 (0)