Re: [PATCH 2/2] Staging: most: aim-sound: sound.c: removed unnecessary parentheses
From: Philippe Loctaux
Date: Fri Dec 29 2017 - 09:51:55 EST
On Fri, Dec 29, 2017 at 02:19:56AM +0300, Ozgur wrote:
> I think this patch is not good, the code will not work. Please should understand in && operator and () why used with C.
hi,
this patch should work, since it compiles and passes checkpatch.
the reason why i removed the () is because of the && operator, it works
without the need of having () around the statments, which makes the code
simpler to read.
have a nice day.
-phil
loctauxphilippe@xxxxxxxxx
https://philippeloctaux.com