staging: rtlwifi: SET_RATE_ID inline no arg reuse
authorCristian Sicilia <sicilia.cristian@gmail.com>
Sun, 4 Nov 2018 14:50:40 +0000 (15:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 12:07:26 +0000 (13:07 +0100)
commit64ce301c971bb323ab63f59014498d7e975586ee
tree62f32a795be8e4bad41a844913b0319fd27bb541
parent3ef1ba0693397a76aaabc2b1f4d5d4e4f43dc7b0
staging: rtlwifi: SET_RATE_ID inline no arg reuse

The macro SET_RATE_ID is a definition in function
and undefined at end of function.
Make it as inline avoid the arg reuse for macro,
the name is changed in _rtl_rate_id, following the
same function pattern in the file.

Signed-off-by: Cristian Sicilia <sicilia.cristian@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/base.c