From 95ff530aedd705f0e4d0241ad7b4adcff89a1cdb Mon Sep 17 00:00:00 2001 From: Paul Fulghum Date: Sun, 25 Jun 2006 05:49:21 -0700 Subject: [PATCH] --- yaml --- r: 29817 b: refs/heads/master c: 294dad05311416718c2a172738e1ca4071449877 h: refs/heads/master i: 29815: fb3536c4dfeda404a5a67f4412efd20a97c26f4c v: v3 --- [refs] | 2 +- trunk/drivers/char/synclink_gt.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 4f39de7c8dc4..f6be6568a19e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 04b374d0f5a97761b91a0c3ff6d10f80abd206b0 +refs/heads/master: 294dad05311416718c2a172738e1ca4071449877 diff --git a/trunk/drivers/char/synclink_gt.c b/trunk/drivers/char/synclink_gt.c index 03a7f20db49a..41eab9831ad5 100644 --- a/trunk/drivers/char/synclink_gt.c +++ b/trunk/drivers/char/synclink_gt.c @@ -4702,13 +4702,13 @@ static int loopback_test(struct slgt_info *info) static int adapter_test(struct slgt_info *info) { DBGINFO(("testing %s\n", info->device_name)); - if ((info->init_error = register_test(info)) < 0) { + if (register_test(info) < 0) { printk("register test failure %s addr=%08X\n", info->device_name, info->phys_reg_addr); - } else if ((info->init_error = irq_test(info)) < 0) { + } else if (irq_test(info) < 0) { printk("IRQ test failure %s IRQ=%d\n", info->device_name, info->irq_level); - } else if ((info->init_error = loopback_test(info)) < 0) { + } else if (loopback_test(info) < 0) { printk("loopback test failure %s\n", info->device_name); } return info->init_error;