Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211924
b: refs/heads/master
c: 9c91283
h: refs/heads/master
v: v3
  • Loading branch information
Robert Richter committed Oct 11, 2010
1 parent e7f3ceb commit 26d83b2
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: 652953b72eea8b9d1bd6b9f67b796c6722bada3a
refs/heads/master: 9c91283a19c2d998a83f50f113f8585709c15caf
6 changes: 2 additions & 4 deletions trunk/drivers/oprofile/oprofile_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,10 @@ static int op_perf_start(void)
for (event = 0; event < num_counters; ++event) {
ret = op_create_counter(cpu, event);
if (ret)
goto out;
return ret;
}
}

out:
return ret;
}

Expand Down Expand Up @@ -224,7 +223,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 @@ -233,7 +232,6 @@ static int __init init_driverfs(void)
platform_driver_unregister(&oprofile_driver);
}

out:
return ret;
}

Expand Down

0 comments on commit 26d83b2

Please sign in to comment.