Commit 487532e
platform/x86: acerhdf: Cleanup str_starts_with()
Since there is already a generic function strstarts() that check if a
string starts with a given prefix, cleanup str_starts_with().
Signed-off-by: Wei Li <liwei391@huawei.com>
Acked-by: Peter Kästle <peter@piie.net>
Link: https://lore.kernel.org/r/20220326020249.3266561-1-liwei391@huawei.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent 9aa6471 commit 487532e
1 file changed
Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | 587 | | |
603 | 588 | | |
604 | 589 | | |
| |||
651 | 636 | | |
652 | 637 | | |
653 | 638 | | |
654 | | - | |
655 | | - | |
656 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
657 | 642 | | |
658 | 643 | | |
659 | 644 | | |
| |||
0 commit comments