From a42468eaeb2622a1d6dfdeb25435d26f3c83032e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 5 Jan 2007 16:36:35 -0800 Subject: [PATCH] --- yaml --- r: 45249 b: refs/heads/master c: 2723f9603a8f8bb2cd8c7b581f7c94b8d75e3837 h: refs/heads/master i: 45247: 547849a28897a09824bd27b7d688123f27f3a7e9 v: v3 --- [refs] | 2 +- trunk/drivers/char/ip2/i2ellis.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 6c4f75cde3d7..db62c3b54528 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3771a450cf47fa64f36c53ba61e36aa2ec84a86b +refs/heads/master: 2723f9603a8f8bb2cd8c7b581f7c94b8d75e3837 diff --git a/trunk/drivers/char/ip2/i2ellis.h b/trunk/drivers/char/ip2/i2ellis.h index 5eabe47b0bc8..433305062fb8 100644 --- a/trunk/drivers/char/ip2/i2ellis.h +++ b/trunk/drivers/char/ip2/i2ellis.h @@ -606,9 +606,9 @@ static int iiDownloadAll(i2eBordStrPtr, loadHdrStrPtr, int, int); // code and returning. // #define COMPLETE(pB,code) \ - if(1){ \ + do { \ pB->i2eError = code; \ return (code == I2EE_GOOD);\ - } + } while (0) #endif // I2ELLIS_H