aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/eni.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/eni.c')
-rw-r--r--drivers/atm/eni.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index c495fae7420..3230ea0df83 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -1469,10 +1469,7 @@ if (eni_boards) printk(KERN_INFO "loss: %ld\n",ENI_DEV(eni_boards)->lost);
1469 1469
1470static void bug_int(struct atm_dev *dev,unsigned long reason) 1470static void bug_int(struct atm_dev *dev,unsigned long reason)
1471{ 1471{
1472 struct eni_dev *eni_dev;
1473
1474 DPRINTK(">bug_int\n"); 1472 DPRINTK(">bug_int\n");
1475 eni_dev = ENI_DEV(dev);
1476 if (reason & MID_DMA_ERR_ACK) 1473 if (reason & MID_DMA_ERR_ACK)
1477 printk(KERN_CRIT DEV_LABEL "(itf %d): driver error - DMA " 1474 printk(KERN_CRIT DEV_LABEL "(itf %d): driver error - DMA "
1478 "error\n",dev->number); 1475 "error\n",dev->number);
@@ -1900,7 +1897,6 @@ static void eni_close(struct atm_vcc *vcc)
1900 1897
1901static int eni_open(struct atm_vcc *vcc) 1898static int eni_open(struct atm_vcc *vcc)
1902{ 1899{
1903 struct eni_dev *eni_dev;
1904 struct eni_vcc *eni_vcc; 1900 struct eni_vcc *eni_vcc;
1905 int error; 1901 int error;
1906 short vpi = vcc->vpi; 1902 short vpi = vcc->vpi;
@@ -1910,7 +1906,6 @@ static int eni_open(struct atm_vcc *vcc)
1910 EVENT("eni_open\n",0,0); 1906 EVENT("eni_open\n",0,0);
1911 if (!test_bit(ATM_VF_PARTIAL,&vcc->flags)) 1907 if (!test_bit(ATM_VF_PARTIAL,&vcc->flags))
1912 vcc->dev_data = NULL; 1908 vcc->dev_data = NULL;
1913 eni_dev = ENI_DEV(vcc->dev);
1914 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 1909 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC)
1915 set_bit(ATM_VF_ADDR,&vcc->flags); 1910 set_bit(ATM_VF_ADDR,&vcc->flags);
1916 if (vcc->qos.aal != ATM_AAL0 && vcc->qos.aal != ATM_AAL5) 1911 if (vcc->qos.aal != ATM_AAL0 && vcc->qos.aal != ATM_AAL5)