[OPW,kernel] staging: ft1000: remove formal get_request_type function header from ft1000-download.c
diff mbox

Message ID 20131014222148.GA9925@kelleynnn-HP-Compaq-8510w
State Accepted
Headers show

Commit Message

Kelley Nielsen Oct. 14, 2013, 10:21 p.m. UTC
since there was no information in the C99 style header
for function get_request_type() that was not easily obtainable
by looking at the function, the header was completely removed.

Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
---
 drivers/staging/ft1000/ft1000-usb/ft1000_download.c | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Greg KH Oct. 15, 2013, 3:53 p.m. UTC | #1
On Mon, Oct 14, 2013 at 03:21:48PM -0700, Kelley Nielsen wrote:
> since there was no information in the C99 style header
> for function get_request_type() that was not easily obtainable
> by looking at the function, the header was completely removed.
> 
> 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 911acfd..f47546a 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
@@ -275,18 +275,6 @@  static void put_handshake_usb(struct ft1000_usb *ft1000dev,u16 handshake_value)
         for (i=0; i<1000; i++);
 }
 
-//---------------------------------------------------------------------------
-// Function:    get_request_type
-//
-// Parameters:  struct ft1000_usb  - device structure
-//
-// Returns:     request type - success
-//
-// Description: This function returns the request type
-//
-// Notes:
-//
-//---------------------------------------------------------------------------
 static u16 get_request_type(struct ft1000_usb *ft1000dev)
 {
 	u16 request_type;