[PATCH 11/14] staging: unisys: remove do{} while(0) in macros in channel.h

Dan Carpenter dan.carpenter at oracle.com
Wed Aug 6 08:18:45 UTC 2014


On Tue, Aug 05, 2014 at 02:57:55PM -0400, Benjamin Romer wrote:
> The CHANNEL_*_MISMATCH error message macros should not be inside of do blocks.
> 

Why not?  We do that so they can be called like a function.  These seem
to not be called at all.   Just delete them (in a later patch).

regards,
dan carpenter



More information about the devel mailing list