Commit ea320ab
committed
samples: bluetooth: cleanup scan_start and delete_bonds functions
The scan_start and delete_bonds functions do not need return types.
The functions have mostly been invoked without storing the return
value and the places where the return value have been used, it
is not strictly necessary. Clean this up.
Also update some logs to align with other samples.
Signed-off-by: Andreas Moltumyr <andreas.moltumyr@nordicsemi.no>1 parent e1b5de1 commit ea320ab
2 files changed
Lines changed: 13 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | | - | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | 239 | | |
242 | 240 | | |
243 | 241 | | |
244 | 242 | | |
245 | 243 | | |
246 | 244 | | |
247 | 245 | | |
248 | | - | |
249 | 246 | | |
250 | 247 | | |
251 | 248 | | |
| |||
467 | 464 | | |
468 | 465 | | |
469 | 466 | | |
470 | | - | |
| 467 | + | |
471 | 468 | | |
472 | 469 | | |
473 | 470 | | |
| |||
477 | 474 | | |
478 | 475 | | |
479 | 476 | | |
480 | | - | |
481 | | - | |
| 477 | + | |
482 | 478 | | |
483 | 479 | | |
484 | | - | |
485 | | - | |
486 | 480 | | |
487 | 481 | | |
488 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | | - | |
577 | | - | |
578 | 576 | | |
579 | 577 | | |
580 | 578 | | |
| |||
638 | 636 | | |
639 | 637 | | |
640 | 638 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | 639 | | |
649 | 640 | | |
650 | 641 | | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
651 | 645 | | |
652 | 646 | | |
653 | 647 | | |
| |||
0 commit comments