Преглед изворни кода

staging: ft1000: convert formal function header to single line comment

As per coding style,C99 comments are not allowed
also, the formal header contained empty space and
redundant information that's right there in the function

Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Kelley Nielsen пре 12 година
родитељ
комит
de7a0cc15a
1 измењених фајлова са 1 додато и 12 уклоњено
  1. 1 12
      drivers/staging/ft1000/ft1000-usb/ft1000_download.c

+ 1 - 12
drivers/staging/ft1000/ft1000-usb/ft1000_download.c

@@ -111,18 +111,7 @@ struct dsp_image_info {
 };
 
 
-//---------------------------------------------------------------------------
-// Function:    check_usb_db
-//
-// Parameters:  struct ft1000_usb  - device structure
-//
-// Returns:     0 - success
-//
-// Description: This function checks if the doorbell register is cleared
-//
-// Notes:
-//
-//---------------------------------------------------------------------------
+/* checks if the doorbell register is cleared */
 static u32 check_usb_db(struct ft1000_usb *ft1000dev)
 {
 	int loopcnt;