{
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())
config = sh_pmu->event_map(attr->config);
break;
- default:
- return -EINVAL;
}
if (config == -1)