Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
u32 int_interval;
/* Variables to track resources for the BULK In Pipe */
- struct vnt_rcb *apRCB[CB_MAX_RX_DESC];
+ struct vnt_rcb *rcb[CB_MAX_RX_DESC];
u32 cbRD;
/* Variables to track resources for the BULK Out Pipe */
int ii;
for (ii = 0; ii < priv->cbRD; ii++) {
- rcb = priv->apRCB[ii];
+ rcb = priv->rcb[ii];
if (!rcb)
continue;
}
for (ii = 0; ii < priv->cbRD; ii++) {
- priv->apRCB[ii] = kzalloc(sizeof(struct vnt_rcb), GFP_KERNEL);
- if (!priv->apRCB[ii]) {
+ priv->rcb[ii] = kzalloc(sizeof(struct vnt_rcb), GFP_KERNEL);
+ if (!priv->rcb[ii]) {
dev_err(&priv->usb->dev,
"failed to allocate rcb no %d\n", ii);
goto free_rx_tx;
}
- rcb = priv->apRCB[ii];
+ rcb = priv->rcb[ii];
rcb->priv = priv;