Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173478
b: refs/heads/master
c: 8820002
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Nov 5, 2009
1 parent e8fab6d commit 38b4b9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: b6d0137d6156db54a9e6ff74458ed4342a45abb5
refs/heads/master: 8820002c18cd3167d2800c002f13d78fa0325402
4 changes: 1 addition & 3 deletions trunk/arch/sh/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static int __hw_perf_event_init(struct perf_event *event)
{
struct perf_event_attr *attr = &event->attr;
struct hw_perf_event *hwc = &event->hw;
int config;
int config = -1;
int err;

if (!sh_pmu_initialized())
Expand Down Expand Up @@ -155,8 +155,6 @@ static int __hw_perf_event_init(struct perf_event *event)

config = sh_pmu->event_map(attr->config);
break;
default:
return -EINVAL;
}

if (config == -1)
Expand Down

0 comments on commit 38b4b9f

Please sign in to comment.