[PATCH] ip2 warning fix

Make this:

drivers/char/ip2/ip2main.c: In function 'ip2_loadmain':
drivers/char/ip2/ip2main.c:654: warning: control may reach end of non-void function 'iiSetAddress' being inlined
drivers/char/ip2/ip2main.c:808: warning: control may reach end of non-void function 'iiInitialize' being inlined

go away.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andrew Morton 2007-01-05 16:36:35 -08:00 committed by Linus Torvalds
parent 3771a450cf
commit 2723f9603a
1 changed files with 2 additions and 2 deletions

View 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