Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211912
b: refs/heads/master
c: dc0c22b
h: refs/heads/master
v: v3
  • Loading branch information
Robert Richter committed Oct 4, 2010
1 parent 2010597 commit 032d30e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f6be4b428197766521aca664a935c63888d096d9
refs/heads/master: dc0c22b878a60373762495b8e5628a32c1b80ac4
6 changes: 2 additions & 4 deletions trunk/arch/arm/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,10 @@ static int op_perf_start(void)
for (event = 0; event < perf_num_counters; ++event) {
ret = op_create_counter(cpu, event);
if (ret)
goto out;
return ret;
}
}

out:
return ret;
}

Expand Down Expand Up @@ -263,7 +262,7 @@ static int __init init_driverfs(void)

ret = platform_driver_register(&oprofile_driver);
if (ret)
goto out;
return ret;

oprofile_pdev = platform_device_register_simple(
oprofile_driver.driver.name, 0, NULL, 0);
Expand All @@ -272,7 +271,6 @@ static int __init init_driverfs(void)
platform_driver_unregister(&oprofile_driver);
}

out:
return ret;
}

Expand Down

0 comments on commit 032d30e

Please sign in to comment.