diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2024-12-26 00:33:36 +0900 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-12-28 23:31:03 +0900 |
| commit | e1352d7ead2b8803689823cd4059c1ec72609ed4 (patch) | |
| tree | 061b8d24641ba9ed237c8dda90d364de606855ef /net/switchdev/switchdev.c | |
| parent | bf36b4bf1b9a7a0015610e2f038ee84ddb085de2 (diff) | |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
