Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255794
b: refs/heads/master
c: ea3aa93
h: refs/heads/master
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Wey-Yi Guy committed Jun 18, 2011
1 parent 4de7ba8 commit 543c55e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 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: 08321c062f77e379c4a539f1522220b83ab1e84e
refs/heads/master: ea3aa93055508ae3e3a62f90580c24ec381dcbe2
10 changes: 0 additions & 10 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
/* TODO: remove include to PCI*.h when no PCI will be needed here */
#include <linux/pci.h>
#include <linux/pci-aspm.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
Expand Down Expand Up @@ -3488,12 +3485,6 @@ int iwl_probe(void *bus_specific, struct iwl_bus_ops *bus_ops,
/************************
* 1. Allocating HW data
************************/
/* TODO: remove this nasty hack when PCI encapsulation is done
* assumes that struct pci_dev * is at the very beginning of whatever
* is pointed by bus_specific */
unsigned long *ppdev = bus_specific;
struct pci_dev *pdev = (struct pci_dev *) *ppdev;

hw = iwl_alloc_all(cfg);
if (!hw) {
err = -ENOMEM;
Expand All @@ -3512,7 +3503,6 @@ int iwl_probe(void *bus_specific, struct iwl_bus_ops *bus_ops,

IWL_DEBUG_INFO(priv, "*** LOAD DRIVER ***\n");
priv->cfg = cfg;
priv->pci_dev = pdev;
priv->inta_mask = CSR_INI_SET_MASK;

/* is antenna coupling more than 35dB ? */
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/net/wireless/iwlwifi/iwl-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -1293,10 +1293,6 @@ struct iwl_priv {
spinlock_t reg_lock; /* protect hw register access */
struct mutex mutex;

/* TODO: remove this after PCI abstraction is done */
/* basic pci-network driver stuff */
struct pci_dev *pci_dev;

struct iwl_bus bus; /* bus specific data */

/* microcode/device supports multiple contexts */
Expand Down

0 comments on commit 543c55e

Please sign in to comment.