staging: most: convert macro to static function
authorGeorge Edward Bulmer <gebulmer@googlemail.com>
Fri, 29 Dec 2017 21:26:20 +0000 (21:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:36:00 +0000 (16:36 +0100)
commit6724ed7f28d6e83956a7219a9a02a4d620ef65d8
treedd9141ff6f7a4d02720b5933ef1dedb6bd3a9836
parent9917b209f8e641b8649c638fba2fc2b8aacb150f
staging: most: convert macro to static function

This fixes checkpatch warning:
CHECK: Macro argument reuse 'buf' - possible side effects?

Signed-off-by: George Edward Bulmer <gebulmer@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/net/net.c