perf evlist: Remove group option.
[linux-2.6-microblaze.git] / tools / perf / util / python.c
index 7320f7f..212031b 100644 (file)
@@ -1142,14 +1142,6 @@ static PyObject *pyrf_evlist__open(struct pyrf_evlist *pevlist,
                                   PyObject *args, PyObject *kwargs)
 {
        struct evlist *evlist = &pevlist->evlist;
-       int group = 0;
-       static char *kwlist[] = { "group", NULL };
-
-       if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOii", kwlist, &group))
-               return NULL;
-
-       if (group)
-               evlist__set_leader(evlist);
 
        if (evlist__open(evlist) < 0) {
                PyErr_SetFromErrno(PyExc_OSError);