Commit 5586c3c
committed
dgram: refactor to remove unreachable code
There is no need to ensure `cluster` loaded in `bindServerHandle` because
it's already loaded before calling it.
This PR makes `cluster` as an argument to remind developers that `cluster`
needs to be loaded before calling this function.1 parent aed17e9 commit 5586c3c
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 202 | + | |
206 | 203 | | |
207 | 204 | | |
208 | 205 | | |
| |||
266 | 263 | | |
267 | 264 | | |
268 | 265 | | |
269 | | - | |
| 266 | + | |
270 | 267 | | |
271 | 268 | | |
272 | 269 | | |
| |||
335 | 332 | | |
336 | 333 | | |
337 | 334 | | |
338 | | - | |
| 335 | + | |
339 | 336 | | |
340 | 337 | | |
341 | 338 | | |
| |||
0 commit comments