]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/ip2/i2ellis.h
Pull sysfs into test branch
[linux-2.6-omap-h63xx.git] / drivers / char / ip2 / i2ellis.h
index 5eabe47b0bc842f4abc60599b561dfa7229fbcdf..433305062fb8aa4f7c070d4c8ae7e968d766be1b 100644 (file)
@@ -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