]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ThunderLAN: remove is_eisa flag
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Sat, 18 May 2013 11:50:17 +0000 (11:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 07:20:14 +0000 (00:20 -0700)
These 2 places are the only matches for is_eisa in the whole tree.

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/tlan.c
drivers/net/ethernet/ti/tlan.h

index 60c400f6d01ff540b6a2e132c3520972336adb1a..59abfbcd0d551e02cb25fae12216720a154f4bda 100644 (file)
@@ -533,7 +533,6 @@ static int tlan_probe1(struct pci_dev *pdev, long ioaddr, int irq, int rev,
                /* This is a hack. We need to know which board structure
                 * is suited for this adapter */
                device_id = inw(ioaddr + EISA_ID2);
-               priv->is_eisa = 1;
                if (device_id == 0x20F1) {
                        priv->adapter = &board_info[13]; /* NetFlex-3/E */
                        priv->adapter_rev = 23;         /* TLAN 2.3 */
index 5fc98a8e488900c07757b59c7464b5e0a54b7855..2eb33a250788abca1235d3ee93d809b422eb328d 100644 (file)
@@ -207,7 +207,6 @@ struct tlan_priv {
        u8                      tlan_full_duplex;
        spinlock_t              lock;
        u8                      link;
-       u8                      is_eisa;
        struct work_struct                      tlan_tqueue;
        u8                      neg_be_verbose;
 };