Skip to content

Commit

Permalink
[PATCH] ip2 warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jan 6, 2007
1 parent 3771a45 commit 2723f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/ip2/i2ellis.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2723f96

Please sign in to comment.