staging: ced1401: remove unused func BlkTransState
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 10:00:29 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:59:34 +0000 (15:59 -0700)
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/ced_ioc.c
drivers/staging/ced1401/usb1401.h

index 30162a896646929bc5a57bdd73d3d444df5e07d4..f05cef5c6204fc7df7f867e4e581deb9f487b683 100644 (file)
@@ -931,18 +931,6 @@ int ced_kill_io(DEVICE_EXTENSION *pdx)
        return U14ERR_NOERROR;
 }
 
-/****************************************************************************
-** BlkTransState
-** Returns a 0 or a 1 for whether DMA is happening. No point holding a mutex
-** for this as it only does one read.
-*****************************************************************************/
-int BlkTransState(DEVICE_EXTENSION *pdx)
-{
-       int iReturn = pdx->dwDMAFlag != MODE_CHAR;
-       dev_dbg(&pdx->interface->dev, "%s: %d\n", __func__, iReturn);
-       return iReturn;
-}
-
 /****************************************************************************
 ** StateOf1401
 **
index 157bce091c5a9cdbd055877eb703df53a0284ac6..d75a81303d827a546a1b5366ef336f7c7bba8108 100644 (file)
@@ -224,7 +224,6 @@ extern int ced_line_count(DEVICE_EXTENSION *pdx);
 extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
 extern int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
 extern int ced_kill_io(DEVICE_EXTENSION *pdx);
-extern int BlkTransState(DEVICE_EXTENSION *pdx);
 extern int StateOf1401(DEVICE_EXTENSION *pdx);
 extern int StartSelfTest(DEVICE_EXTENSION *pdx);
 extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);