Commit c89504a
committed
tracing: Remove unneeded goto out logic
Several places in the trace.c file there's a goto out where the out is
simply a return. There's no reason to jump to the out label if it's not
doing any more logic but simply returning from the function.
Replace the goto outs with a return and remove the out labels.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/20250801203857.538726745@kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 623526b commit c89504a
1 file changed
Lines changed: 15 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1841 | 1841 | | |
1842 | 1842 | | |
1843 | 1843 | | |
1844 | | - | |
| 1844 | + | |
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
1858 | | - | |
| 1858 | + | |
1859 | 1859 | | |
1860 | 1860 | | |
1861 | 1861 | | |
| |||
1865 | 1865 | | |
1866 | 1866 | | |
1867 | 1867 | | |
1868 | | - | |
1869 | | - | |
| 1868 | + | |
1870 | 1869 | | |
1871 | 1870 | | |
1872 | 1871 | | |
1873 | 1872 | | |
1874 | 1873 | | |
1875 | 1874 | | |
1876 | 1875 | | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
1881 | 1879 | | |
1882 | 1880 | | |
1883 | | - | |
| 1881 | + | |
1884 | 1882 | | |
1885 | 1883 | | |
1886 | 1884 | | |
| |||
1895 | 1893 | | |
1896 | 1894 | | |
1897 | 1895 | | |
1898 | | - | |
1899 | | - | |
| 1896 | + | |
1900 | 1897 | | |
1901 | 1898 | | |
1902 | 1899 | | |
1903 | | - | |
1904 | | - | |
1905 | | - | |
1906 | | - | |
| 1900 | + | |
1907 | 1901 | | |
1908 | 1902 | | |
1909 | 1903 | | |
| |||
2405 | 2399 | | |
2406 | 2400 | | |
2407 | 2401 | | |
2408 | | - | |
| 2402 | + | |
2409 | 2403 | | |
2410 | 2404 | | |
2411 | | - | |
| 2405 | + | |
2412 | 2406 | | |
2413 | 2407 | | |
2414 | 2408 | | |
| |||
2420 | 2414 | | |
2421 | 2415 | | |
2422 | 2416 | | |
2423 | | - | |
2424 | | - | |
| 2417 | + | |
2425 | 2418 | | |
2426 | 2419 | | |
2427 | 2420 | | |
| |||
8963 | 8956 | | |
8964 | 8957 | | |
8965 | 8958 | | |
8966 | | - | |
| 8959 | + | |
8967 | 8960 | | |
8968 | 8961 | | |
8969 | 8962 | | |
8970 | 8963 | | |
8971 | | - | |
| 8964 | + | |
8972 | 8965 | | |
8973 | 8966 | | |
8974 | 8967 | | |
| |||
11070 | 11063 | | |
11071 | 11064 | | |
11072 | 11065 | | |
11073 | | - | |
| 11066 | + | |
11074 | 11067 | | |
11075 | 11068 | | |
11076 | 11069 | | |
| |||
11188 | 11181 | | |
11189 | 11182 | | |
11190 | 11183 | | |
11191 | | - | |
11192 | 11184 | | |
11193 | 11185 | | |
11194 | 11186 | | |
| |||
0 commit comments