Staging: rtl8712 : wifi.h: Fixed Macro argument reuse
authorJaya Durga <rjdurga@gmail.com>
Fri, 23 Jun 2017 11:24:40 +0000 (16:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jun 2017 14:31:22 +0000 (16:31 +0200)
commiteebdd3f61bac853e1a42acc59f18c642d2a02eef
tree73d1a6f28811aec87d5eaf499ca773d029980325
parent24c8bd8feb30f9762ef6c37ada656f80c3871df7
Staging: rtl8712 : wifi.h: Fixed Macro argument reuse

CHECK: Macro argument reuse 'pframe' - possible side-effects?

Convert get_tofr_ds macro to inline functions to fix checkpatch check

Signed-off-by: Jaya Durga <rjdurga@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/wifi.h