Re: [PATCH v2] Staging : media : atomisp : fixed a brace coding sytle issue

From: Greg KH
Date: Tue Jul 28 2020 - 04:43:50 EST


On Tue, Jul 28, 2020 at 01:53:30PM +0530, Ankit wrote:
> From: Ankit Baluni <b18007@xxxxxxxxxxxxxxxxxxxxxxx>
>
> Removed braces for a 'if' condition as it contain only single line &
> there is no need for braces for such case according to coding style
> rules.
>
> Signed-off-by: Ankit Baluni <b18007@xxxxxxxxxxxxxxxxxxxxxxx>
>
> ---
> drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

What changed from v1?

Always put that below the --- line as the documentation asks for.

thanks,

greg k-h