Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf hists browser: The dso can be obtained from popup_action->ms.map->dso

So no need to have a 'dso' member in 'popup_action', remove it as no
code is using it, already.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-76a6s0007slug0op0wkl6o8b@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

-6
-6
tools/perf/ui/browsers/hists.c
··· 1430 1430 1431 1431 struct popup_action { 1432 1432 struct thread *thread; 1433 - struct dso *dso; 1434 1433 struct map_symbol ms; 1435 1434 int socket; 1436 1435 ··· 1564 1565 return 0; 1565 1566 1566 1567 act->ms.map = map; 1567 - act->dso = map->dso; 1568 1568 act->fn = do_zoom_dso; 1569 1569 return 1; 1570 1570 } ··· 1825 1827 1826 1828 while (1) { 1827 1829 struct thread *thread = NULL; 1828 - struct dso *dso = NULL; 1829 1830 struct map *map = NULL; 1830 1831 int choice = 0; 1831 1832 int socked_id = -1; ··· 1836 1839 if (browser->he_selection != NULL) { 1837 1840 thread = hist_browser__selected_thread(browser); 1838 1841 map = browser->selection->map; 1839 - if (map) 1840 - dso = map->dso; 1841 1842 socked_id = browser->he_selection->socket; 1842 1843 } 1843 1844 switch (key) { ··· 1869 1874 hist_browser__dump(browser); 1870 1875 continue; 1871 1876 case 'd': 1872 - actions->dso = dso; 1873 1877 actions->ms.map = map; 1874 1878 do_zoom_dso(browser, actions); 1875 1879 continue;