Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268077
b: refs/heads/master
c: 4a334d8
h: refs/heads/master
i:
  268075: 020dfd3
v: v3
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Aug 29, 2011
1 parent 46a2a7c commit 52f7416
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 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: 8dc2bbe72ec31469286027ebce6a00f05ef38a9f
refs/heads/master: 4a334d898a5cdbbe6d7a923a5106526ea82a9ffc
4 changes: 0 additions & 4 deletions trunk/drivers/staging/et131x/et1310_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ int et131x_xcvr_find(struct et131x_adapter *adapter)
u8 xcvr_addr;
u16 idr1;
u16 idr2;
u32 xcvr_id;

/* We need to get xcvr id and address we just get the first one */
for (xcvr_addr = 0; xcvr_addr < 32; xcvr_addr++) {
Expand All @@ -254,10 +253,7 @@ int et131x_xcvr_find(struct et131x_adapter *adapter)
(u8) offsetof(struct mi_regs, idr2),
&idr2);

xcvr_id = (u32) ((idr1 << 16) | idr2);

if (idr1 != 0 && idr1 != 0xffff) {
adapter->stats.xcvr_id = xcvr_id;
adapter->stats.xcvr_addr = xcvr_addr;
return 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ struct ce_stats {

/* Transceiver state informations. */
u8 xcvr_addr;
u32 xcvr_id;

/* Tx Statistics. */
u32 tx_underflows;
Expand Down

0 comments on commit 52f7416

Please sign in to comment.