diff options
author | Luca Ellero <luca.ellero@brickedbrain.com> | 2014-06-30 12:00:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-08 15:59:34 -0700 |
commit | 9ee52ef6ada93d6af850f011495f97a1d66a0f18 (patch) | |
tree | 8e9cae429681e8887b3b7792c9ad076b6ca56552 | |
parent | d2c4040b722e9953e8ad7213d3362acd3fa64c0a (diff) | |
download | linux-9ee52ef6ada93d6af850f011495f97a1d66a0f18.tar.bz2 |
staging: ced1401: remove unused func BlkTransState
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/ced1401/ced_ioc.c | 12 | ||||
-rw-r--r-- | drivers/staging/ced1401/usb1401.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c index 30162a896646..f05cef5c6204 100644 --- a/drivers/staging/ced1401/ced_ioc.c +++ b/drivers/staging/ced1401/ced_ioc.c @@ -932,18 +932,6 @@ int ced_kill_io(DEVICE_EXTENSION *pdx) } /**************************************************************************** -** 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 ** ** Puts the current state of the 1401 in the Irp return buffer. diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h index 157bce091c5a..d75a81303d82 100644 --- a/drivers/staging/ced1401/usb1401.h +++ b/drivers/staging/ced1401/usb1401.h @@ -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); |