staging: sm750fb: Remove unnecessary comments.
Subsystems (2)
PATCH 2/2 staging: sm750fb: Remove unnecessary comments.
Comments are needed to help the reader to understand the code better.
Functions shouldn't have comments to restate their names.
--- drivers/staging/sm750fb/ddk750_power.h | 8 -------- 1 file changed, 8 deletions(-)
drivers/staging/sm750fb/ddk750_power.h +0 -8
@@ -15,15 +15,7 @@ DPMS_t; }void ddk750_setDPMS (DPMS_t ); - -/* -* This function sets the current power mode -*/ void set_power_mode (unsigned int powerMode); - -/* -* This function sets current gate -*/ void set_current_gate (unsigned int gate);/*
Signature · 1 line
2.7.4
Quoted 1 line · Elise Lennion
Comments are needed to help the reader to understand the code better.
This is not a helpful log message. It suggests that you are going to add comments. Actually, the whole commit message does not say anything about what you did. It would be better to say something like:
Remove function comments that merely restate the function name.
julia
Quoted 38 lines
Functions shouldn't have comments to restate their names.
Signed-off-by Elise Lennion <[email protected]>--- drivers/staging/sm750fb/ddk750_power.h | 8 -------- 1 file changed, 8 deletions(-)drivers/staging/sm750fb/ddk750_power.h +0
-9@@ -15,15 +15,7 @@ DPMS_t; }void ddk750_setDPMS (DPMS_t ); - -/* -* This function sets the current power mode -*/ void set_power_mode (unsigned int powerMode); - -/* -* This function sets current gate -*/ void set_current_gate (unsigned int gate);/* -- 2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20161013023427.GA23337%40lennorien.com.
For more options, visit https://groups.google.com/d/optout.