perf trace: Get rid of a duplicate code
[linux-3.10.git] / tools / perf / builtin-trace.c
index f0c20ef..49fedb5 100644 (file)
@@ -527,13 +527,6 @@ again:
                                continue;
                        }
 
-                       if (sample.raw_data == NULL) {
-                               printf("%s sample with no payload for tid: %d, cpu %d, raw_size=%d, skipping...\n",
-                                      perf_evsel__name(evsel), sample.tid,
-                                      sample.cpu, sample.raw_size);
-                               continue;
-                       }
-
                        handler = evsel->handler.func;
                        handler(trace, evsel, &sample);
                }