Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183441
b: refs/heads/master
c: 2c35294
h: refs/heads/master
i:
  183439: 837e4f4
v: v3
  • Loading branch information
hartleys authored and David S. Miller committed Jan 7, 2010
1 parent 814f324 commit 7dccba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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: aaa09ee7287d31f57f4dc8b4acca5cd59c1595f5
refs/heads/master: 2c35294853b2e977bdfc9e401b7b6d881fcaa69b
6 changes: 1 addition & 5 deletions trunk/drivers/firmware/iscsi_ibft.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ static ssize_t ibft_attr_show_nic(struct ibft_kobject *entry,
struct ibft_nic *nic = entry->nic;
void *ibft_loc = entry->header;
char *str = buf;
char *mac;
int val;

if (!nic)
Expand Down Expand Up @@ -421,10 +420,7 @@ static ssize_t ibft_attr_show_nic(struct ibft_kobject *entry,
str += sprintf(str, "%d\n", nic->vlan);
break;
case ibft_eth_mac:
mac = nic->mac;
str += sprintf(str, "%02x:%02x:%02x:%02x:%02x:%02x\n",
(u8)mac[0], (u8)mac[1], (u8)mac[2],
(u8)mac[3], (u8)mac[4], (u8)mac[5]);
str += sprintf(str, "%pM\n", nic->mac);
break;
case ibft_eth_hostname:
str += sprintf_string(str, nic->hostname_len,
Expand Down

0 comments on commit 7dccba3

Please sign in to comment.