Re: [PATCH] crypto: fcrypt: Remove 'do while(0)' loop for single statement macro

2021-04-02 Thread Herbert Xu
On Fri, Mar 26, 2021 at 11:35:11AM -0700, Milan Djurovic wrote: > Remove the 'do while(0)' loop in the macro, as it is not needed for single > statement macros. Condense into one line. > > Signed-off-by: Milan Djurovic > --- > crypto/fcrypt.c | 5 + > 1 file changed, 1 insertion(+), 4 deleti

[PATCH] crypto: fcrypt: Remove 'do while(0)' loop for single statement macro

2021-03-26 Thread Milan Djurovic
Remove the 'do while(0)' loop in the macro, as it is not needed for single statement macros. Condense into one line. Signed-off-by: Milan Djurovic --- crypto/fcrypt.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c index c36ea0c8be98..76a