Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281051
b: refs/heads/master
c: 71769d7
h: refs/heads/master
i:
  281049: 5429939
  281047: 549ceb4
v: v3
  • Loading branch information
Stefan Lippers-Hollmann authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent c5ce801 commit bdf8624
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44b6eb263783bee7f619d6c5ae48a4306756a797
refs/heads/master: 71769d737a2887aa9608e89deaca4185e44a0bca
1 change: 0 additions & 1 deletion trunk/drivers/staging/rtl8192e/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ccflags-y += -DCONFIG_PM_RTL
ccflags-y += -DHAVE_NET_DEVICE_OPS

r8192e_pci-objs := \
rtl_core.o \
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/staging/rtl8192e/rtl_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2839,7 +2839,6 @@ irqreturn_type rtl8192_interrupt(int irq, void *netdev, struct pt_regs *regs)
/****************************************************************************
---------------------------- PCI_STUFF---------------------------
*****************************************************************************/
#ifdef HAVE_NET_DEVICE_OPS
static const struct net_device_ops rtl8192_netdev_ops = {
.ndo_open = rtl8192_open,
.ndo_stop = rtl8192_close,
Expand All @@ -2851,7 +2850,6 @@ static const struct net_device_ops rtl8192_netdev_ops = {
.ndo_change_mtu = eth_change_mtu,
.ndo_start_xmit = rtllib_xmit,
};
#endif

static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
Expand Down Expand Up @@ -2938,17 +2936,7 @@ static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
dev->irq = pdev->irq;
priv->irq = 0;

#ifdef HAVE_NET_DEVICE_OPS
dev->netdev_ops = &rtl8192_netdev_ops;
#else
dev->open = rtl8192_open;
dev->stop = rtl8192_close;
dev->tx_timeout = rtl8192_tx_timeout;
dev->do_ioctl = rtl8192_ioctl;
dev->set_multicast_list = r8192_set_multicast;
dev->set_mac_address = r8192_set_mac_adr;
dev->hard_start_xmit = rtllib_xmit;
#endif

dev->wireless_handlers = (struct iw_handler_def *)
&r8192_wx_handlers_def;
Expand Down

0 comments on commit bdf8624

Please sign in to comment.