|
@@ -1006,7 +1006,6 @@ out_free:
|
|
|
static int rio_mport_wait_for_async_dma(struct file *filp, void __user *arg)
|
|
|
{
|
|
|
struct mport_cdev_priv *priv;
|
|
|
- struct mport_dev *md;
|
|
|
struct rio_async_tx_wait w_param;
|
|
|
struct mport_dma_req *req;
|
|
|
dma_cookie_t cookie;
|
|
@@ -1016,7 +1015,6 @@ static int rio_mport_wait_for_async_dma(struct file *filp, void __user *arg)
|
|
|
int ret;
|
|
|
|
|
|
priv = (struct mport_cdev_priv *)filp->private_data;
|
|
|
- md = priv->md;
|
|
|
|
|
|
if (unlikely(copy_from_user(&w_param, arg, sizeof(w_param))))
|
|
|
return -EFAULT;
|