Merge tag 'powerpc-5.2-7' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-block.git] / tools / perf / builtin-lock.c
index 6e0189df2b3baf96a34ac3053098bc9b331d9a7e..b9810a8d350ab166d84ad14995bb1b4cfa05ecc2 100644 (file)
@@ -866,11 +866,9 @@ static int __cmd_report(bool display_info)
                .ordered_events  = true,
        };
        struct perf_data data = {
-               .file      = {
-                       .path = input_name,
-               },
-               .mode      = PERF_DATA_MODE_READ,
-               .force     = force,
+               .path  = input_name,
+               .mode  = PERF_DATA_MODE_READ,
+               .force = force,
        };
 
        session = perf_session__new(&data, false, &eops);