[PATCH 2/2] staging: dgap: delete obvious comments

Dan Carpenter dan.carpenter at oracle.com
Tue Jun 9 22:01:20 UTC 2015


On Tue, Jun 09, 2015 at 05:27:00PM +0000, Gujulan Elango, Hari Prasath (H.) wrote:
> From: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
> 
> Deleting obvious comments
> 
> Signed-off-by: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
> ---
>  drivers/staging/dgap/dgap.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
> index 185e9e5..03153d8 100644
> --- a/drivers/staging/dgap/dgap.c
> +++ b/drivers/staging/dgap/dgap.c
> @@ -7104,8 +7104,6 @@ static void dgap_stop(void)
>  
>  /*
>   * init_module()
> - *
> - * Module load.  This is where it all starts.
>   */

Just remove the whole comment.  We can see the function name just by
reading down a few lines so the comment doesn't add any information.

>  static int dgap_init_module(void)
>  {

Also the comment is out of date.  The function name has changed.

regards,
dan carpenter



More information about the devel mailing list