Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213808
b: refs/heads/master
c: ce16cc0
h: refs/heads/master
v: v3
  • Loading branch information
Roopa Prabhu authored and David S. Miller committed Aug 17, 2010
1 parent f8d88d4 commit 807b84e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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: 7c46835e4845fed5f348f5845a3a6165874e2f05
refs/heads/master: ce16cc02f9fe21d4e42116305e5ea9d12e51635d
15 changes: 0 additions & 15 deletions trunk/drivers/net/enic/enic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2154,17 +2154,6 @@ void enic_dev_deinit(struct enic *enic)
enic_clear_intr_mode(enic);
}

static int enic_dev_stats_clear(struct enic *enic)
{
int err;

spin_lock(&enic->devcmd_lock);
err = vnic_dev_stats_clear(enic->vdev);
spin_unlock(&enic->devcmd_lock);

return err;
}

int enic_dev_init(struct enic *enic)
{
struct device *dev = enic_get_dev(enic);
Expand Down Expand Up @@ -2207,10 +2196,6 @@ int enic_dev_init(struct enic *enic)

enic_init_vnic_resources(enic);

/* Clear LIF stats
*/
enic_dev_stats_clear(enic);

err = enic_set_rq_alloc_buf(enic);
if (err) {
dev_err(dev, "Failed to set RQ buffer allocator, aborting\n");
Expand Down

0 comments on commit 807b84e

Please sign in to comment.