Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213832
b: refs/heads/master
c: be265e9
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and David S. Miller committed Aug 18, 2010
1 parent 661a6c5 commit 9d0e4ef
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 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: baeb2ffab4e67bb9174e6166e070a9a8ec94b0f6
refs/heads/master: be265e9bae343d803145bbe910a8b00bc4bea3cc
2 changes: 0 additions & 2 deletions trunk/drivers/net/s2io.c
Original file line number Diff line number Diff line change
Expand Up @@ -5124,8 +5124,6 @@ static void s2io_set_multicast(struct net_device *dev)
/* Create the new Rx filter list and update the same in H/W. */
i = 0;
netdev_for_each_mc_addr(ha, dev) {
memcpy(sp->usr_addrs[i].addr, ha->addr,
ETH_ALEN);
mac_addr = 0;
for (j = 0; j < ETH_ALEN; j++) {
mac_addr |= ha->addr[j];
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/net/s2io.h
Original file line number Diff line number Diff line change
Expand Up @@ -816,12 +816,6 @@ struct mac_info {
struct stat_block *stats_info; /* Logical address of the stat block */
};

/* structure representing the user defined MAC addresses */
struct usr_addr {
char addr[ETH_ALEN];
int usage_cnt;
};

/* Default Tunable parameters of the NIC. */
#define DEFAULT_FIFO_0_LEN 4096
#define DEFAULT_FIFO_1_7_LEN 512
Expand Down Expand Up @@ -894,9 +888,7 @@ struct s2io_nic {
#define ALL_MULTI 2

#define MAX_ADDRS_SUPPORTED 64
u16 usr_addr_count;
u16 mc_addr_count;
struct usr_addr usr_addrs[256];

u16 m_cast_flg;
u16 all_multi_pos;
Expand Down

0 comments on commit 9d0e4ef

Please sign in to comment.