Skip to content

staging: media: atomisp: Fix various small code and code style formatting issues

Jonathan Bergh linux-media lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6staging: media: atomisp: Remove unnecessary braces from single line conditional statementsdrivers/staging/media/atomisp/pci/sh_css_sp.c+4 -80 replies
2/6staging: media: atomisp: Fixed "unsigned int *" rather than "unsigned *" declaration in variable declarationdrivers/staging/media/atomisp/pci/sh_css_sp.c+1 -10 replies
3/6staging: media: atomisp: Ensure trailing statements are on a newline and remove spurious whitespacesdrivers/staging/media/atomisp/pci/sh_css_sp.c+5 -30 replies
4/6staging: media: atomisp: Remove unnecessary parentheses from conditional statementdrivers/staging/media/atomisp/pci/sh_css_sp.c+1 -10 replies
5/6staging: media: atomisp: Remove unneeded return statement from void functiondrivers/staging/media/atomisp/pci/sh_css_sp.c+0 -20 replies
6/6staging: media: atomisp: Remove old commented code and fix multiple block comment styledrivers/staging/media/atomisp/pci/sh_css_sp.c+48 -390 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] staging: media: atomisp: Fix various small code and code style formatting issues

These patches address a number of small code and code style formatting including:
* removing unneeded braces from single line statements
* replace "unsigned *" with "unsigned int *"
* remove spurious whitespace and ensure trailing statements are included on a newline following a conditional statement
* remove unneeded parentheses from conditional statement
* remove unneeded "return" statement from void function, and finally
* remove commented code and fix multiple block comments to meet the kernel code style guidelines.

Jonathan Bergh (6):
staging: media: atomisp: Remove unnecessary braces from single line
conditional statements
staging: media: atomisp: Fixed "unsigned int *" rather than "unsigned
*" declaration in variable declaration
staging: media: atomisp: Ensure trailing statements are on a newline
and remove spurious whitespaces
staging: media: atomisp: Remove unnecessary parentheses from
conditional statement
staging: media: atomisp: Remove unneeded return statement from void
function
staging: media: atomisp: Remove old commented code and fix multiple
block comment style

 drivers/staging/media/atomisp/pci/sh_css_sp.c | 109 +++++++++---------
 1 file changed, 57 insertions(+), 52 deletions(-)
Signature · 1 line
2.40.1