]> Pileus Git - ~andy/linux/commitdiff
staging: ft1000: convert formal get_handshake() function header to single line comment
authorKelley Nielsen <kelleynnn@gmail.com>
Mon, 14 Oct 2013 01:52:46 +0000 (18:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2013 16:24:49 +0000 (09:24 -0700)
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>
drivers/staging/ft1000/ft1000-usb/ft1000_download.c

index 229306ff8ad26fd71cd2322fee4fc499b1fd9b26..f80dc433e6d57338b384fba991bec4b11d43dee4 100644 (file)
@@ -158,20 +158,7 @@ static u32 check_usb_db(struct ft1000_usb *ft1000dev)
        return HANDSHAKE_MAG_TIMEOUT_VALUE;
 }
 
-//---------------------------------------------------------------------------
-// Function:    get_handshake
-//
-// Parameters:  struct ft1000_usb  - device structure
-//              u16 expected_value - the handshake value expected
-//
-// Returns:     handshakevalue - success
-//              HANDSHAKE_TIMEOUT_VALUE - failure
-//
-// Description: This function gets the handshake and compare with the expected value
-//
-// Notes:
-//
-//---------------------------------------------------------------------------
+/* gets the handshake and compares it with the expected value */
 static u16 get_handshake(struct ft1000_usb *ft1000dev, u16 expected_value)
 {
        u16 handshake;