Commit e1352d7
committed
modpost: refactor do_vmbus_entry()
Optimize the size of guid_name[], as it only requires 1 additional byte
for '\0' instead of 2.
Simplify the loop by incrementing the iterator by 1 instead of 2.
Remove the unnecessary TO_NATIVE() call, as the guid is represented as
a byte stream.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>1 parent bf36b4b commit e1352d7
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | | - | |
816 | 815 | | |
817 | 816 | | |
818 | | - | |
819 | 817 | | |
820 | | - | |
| 818 | + | |
821 | 819 | | |
822 | | - | |
823 | | - | |
| 820 | + | |
| 821 | + | |
824 | 822 | | |
825 | 823 | | |
826 | 824 | | |
| |||
0 commit comments