diff options
author | Will Deacon <[email protected]> | 2010-08-29 14:52:00 -0400 |
---|---|---|
committer | Robert Richter <[email protected]> | 2010-08-31 11:49:07 +0200 |
commit | c7fd239a647ead1c336a051012d6bb96465ea8c6 (patch) | |
tree | 0ea0d2f251c1979a05d5e10bae1a0296187b95ac /net/unix/sysctl_net_unix.c | |
parent | 979048e1f26190d16b5aea87166177f37e614439 (diff) |
ARM: oprofile: fix and simplify init/exit functions
Now that oprofile_arch_exit is only called when the OProfile module
is unloaded, it can assume that init completed successfully and not
have to worry about double frees or releasing NULL perf events.
This patch ensures that oprofile_arch_init fails gracefully on ARM
and simplifies the exit code based on the above.
Cc: Robert Richter <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions