]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: wlan-ng: convert P80211SKB_FRMMETA to inline function in p80211conv
authorTim Collier <osdevtc@gmail.com>
Wed, 23 May 2018 07:30:24 +0000 (08:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:44:14 +0000 (18:44 +0200)
commitdf6835d1f66a27f753f93b017a5a022dbdd0d372
tree6d4cd7f7e30062b71e47d02f06a8323268316472
parent67d412e44df5850522b7f9c2734e1c84ff89eaf7
staging: wlan-ng: convert P80211SKB_FRMMETA to inline function in p80211conv

To avoid possible issues with repeated reference to the macro argument
as reported by checkpatch, macro P80211SKB_FRMMETA is replaced with an
equivalent inline function. The function is named p80211skb_frmmeta to
follow the coding style guidelines; references to the macro are
updated to reference the new function.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211conv.c
drivers/staging/wlan-ng/p80211conv.h