[OPW,kernel] staging: ft1000: convert formal put_handshake() header to single line comment
diff mbox

Message ID 20131014214000.GA32583@kelleynnn-HP-Compaq-8510w
State Accepted
Headers show

Commit Message

Kelley Nielsen Oct. 14, 2013, 9:40 p.m. UTC
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>
---
 drivers/staging/ft1000/ft1000-usb/ft1000_download.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

Comments

Greg Kroah-Hartman Oct. 15, 2013, 3:53 p.m. UTC | #1
On Mon, Oct 14, 2013 at 02:40:01PM -0700, Kelley Nielsen wrote:
> 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>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
index 46c7462..911acfd 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
@@ -201,20 +201,7 @@  static u16 get_handshake(struct ft1000_usb *ft1000dev, u16 expected_value)
 	return HANDSHAKE_TIMEOUT_VALUE;
 }
 
-//---------------------------------------------------------------------------
-// Function:    put_handshake
-//
-// Parameters:  struct ft1000_usb  - device structure
-//              u16 handshake_value - handshake to be written
-//
-// Returns:     none
-//
-// Description: This function write the handshake value to the handshake location
-//              in DPRAM
-//
-// Notes:
-//
-//---------------------------------------------------------------------------
+/* write the handshake value to the handshake location */
 static void put_handshake(struct ft1000_usb *ft1000dev,u16 handshake_value)
 {
 	u32 tempx;