Commit f79a3bc
net/sched: Remove unnecessary if statement
It has been deal with the 'if (err' statement in rtnetlink_send()
and rtnl_unicast(). so remove unnecessary if statement.
v2: use the raw name rtnetlink_send().
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent cfdf0d9 commit f79a3bc
3 files changed
+8
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1351 | 1351 | | |
1352 | 1352 | | |
1353 | 1353 | | |
1354 | | - | |
1355 | | - | |
1356 | 1354 | | |
1357 | 1355 | | |
1358 | 1356 | | |
| |||
1423 | 1421 | | |
1424 | 1422 | | |
1425 | 1423 | | |
1426 | | - | |
1427 | | - | |
1428 | 1424 | | |
1429 | 1425 | | |
1430 | 1426 | | |
| |||
1481 | 1477 | | |
1482 | 1478 | | |
1483 | 1479 | | |
1484 | | - | |
1485 | 1480 | | |
1486 | 1481 | | |
1487 | 1482 | | |
| |||
1495 | 1490 | | |
1496 | 1491 | | |
1497 | 1492 | | |
1498 | | - | |
1499 | | - | |
1500 | | - | |
1501 | | - | |
1502 | | - | |
| 1493 | + | |
| 1494 | + | |
1503 | 1495 | | |
1504 | 1496 | | |
1505 | 1497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1870 | 1870 | | |
1871 | 1871 | | |
1872 | 1872 | | |
1873 | | - | |
| 1873 | + | |
1874 | 1874 | | |
1875 | 1875 | | |
1876 | 1876 | | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | 1877 | | |
1881 | 1878 | | |
1882 | 1879 | | |
| |||
1909 | 1906 | | |
1910 | 1907 | | |
1911 | 1908 | | |
1912 | | - | |
| 1909 | + | |
1913 | 1910 | | |
1914 | 1911 | | |
1915 | 1912 | | |
1916 | 1913 | | |
1917 | 1914 | | |
1918 | 1915 | | |
1919 | | - | |
1920 | | - | |
1921 | 1916 | | |
1922 | 1917 | | |
1923 | 1918 | | |
| |||
2711 | 2706 | | |
2712 | 2707 | | |
2713 | 2708 | | |
2714 | | - | |
| 2709 | + | |
2715 | 2710 | | |
2716 | 2711 | | |
2717 | 2712 | | |
2718 | 2713 | | |
2719 | | - | |
2720 | | - | |
2721 | 2714 | | |
2722 | 2715 | | |
2723 | 2716 | | |
| |||
2741 | 2734 | | |
2742 | 2735 | | |
2743 | 2736 | | |
2744 | | - | |
| 2737 | + | |
2745 | 2738 | | |
2746 | 2739 | | |
2747 | 2740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
1848 | | - | |
1849 | 1848 | | |
1850 | 1849 | | |
1851 | 1850 | | |
| |||
1856 | 1855 | | |
1857 | 1856 | | |
1858 | 1857 | | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
| 1858 | + | |
| 1859 | + | |
1864 | 1860 | | |
1865 | 1861 | | |
1866 | 1862 | | |
| |||
1894 | 1890 | | |
1895 | 1891 | | |
1896 | 1892 | | |
1897 | | - | |
1898 | | - | |
1899 | 1893 | | |
1900 | 1894 | | |
1901 | 1895 | | |
| |||
0 commit comments