Commit 7abbf38
selftests/bpf: Drop get_port in test_tcp_check_syncookie
The arguments "addr" and "len" of run_test() have dropped. This makes
function get_port() useless. Drop it from test_tcp_check_syncookie_user.c.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/a9b5c8064ab4cbf0f68886fe0e4706428b8d0d47.1714907662.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>1 parent 65a3f0d commit 7abbf38
1 file changed
Lines changed: 3 additions & 18 deletions
Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 142 | | |
158 | 143 | | |
159 | 144 | | |
| |||
214 | 199 | | |
215 | 200 | | |
216 | 201 | | |
217 | | - | |
| 202 | + | |
218 | 203 | | |
219 | 204 | | |
220 | 205 | | |
221 | 206 | | |
222 | 207 | | |
223 | | - | |
| 208 | + | |
224 | 209 | | |
225 | 210 | | |
226 | 211 | | |
227 | 212 | | |
228 | 213 | | |
229 | | - | |
| 214 | + | |
230 | 215 | | |
231 | 216 | | |
232 | 217 | | |
| |||
0 commit comments