staging: r8188eu: use htons macro instead of __constant_htons
authorDeepak R Varma <drv@mailo.com>
Thu, 20 Oct 2022 21:28:39 +0000 (02:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Oct 2022 08:00:22 +0000 (10:00 +0200)
commit227041c5d88aace2a1c95d6741438015ac1d9560
treeeb6628f584474d6f672105dc8f07a109353dd70f
parent3c480b32431272e0a4a78ee1f20bba96deaddd72
staging: r8188eu: use htons macro instead of __constant_htons

Macro "htons" is more efficient and clearer. It should be used for
constants instead of the __constant_htons macro. Resolves following
checkpatch script complaint:
        WARNING: __constant_htons should be htons

Signed-off-by: Deepak R Varma <drv@mailo.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/b46adfbdce0362ed0dbe0fc957ef2f47a93c24bb.1666299151.git.drv@mailo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_br_ext.c
drivers/staging/r8188eu/core/rtw_xmit.c