Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295880
b: refs/heads/master
c: 9250bc8
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed Jan 31, 2012
1 parent b8b5c42 commit 07c3c29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 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: 845da6bf65b1ebff700c1e9a8c17f5df303792c1
refs/heads/master: 9250bc8b76bd7e89a9891c9a862aa3eea7bcfb8e
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-mxs/mach-m28evk.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,8 @@ static int __init m28evk_fec_get_mac(void)
u32 val;
const u32 *ocotp = mxs_get_ocotp();

if (!ocotp) {
pr_err("%s: timeout when reading fec mac from OCOTP\n",
__func__);
if (!ocotp)
return -ETIMEDOUT;
}

/*
* OCOTP only stores the last 4 octets for each mac address,
Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/arm/mach-mxs/mach-mx28evk.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static int __init mx28evk_fec_get_mac(void)
const u32 *ocotp = mxs_get_ocotp();

if (!ocotp)
goto error;
return -ETIMEDOUT;

/*
* OCOTP only stores the last 4 octets for each mac address,
Expand All @@ -295,10 +295,6 @@ static int __init mx28evk_fec_get_mac(void)
}

return 0;

error:
pr_err("%s: timeout when reading fec mac from OCOTP\n", __func__);
return -ETIMEDOUT;
}

/*
Expand Down

0 comments on commit 07c3c29

Please sign in to comment.