staging: wlan-ng: Remove function prism2mib_excludeunencrypted()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Fri, 2 Aug 2019 06:09:13 +0000 (11:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 11:55:38 +0000 (13:55 +0200)
commitb7a40c32f18a88b2a1e894a4406cf9d97423c078
treef0a25a3bf04c9b84facb56c4f1da607f02dcf815
parent129d0561a3e81836aeeba2bbdb89249c0012af24
staging: wlan-ng: Remove function prism2mib_excludeunencrypted()

Remove function prism2mib_excludeunencrypted as all it does is call
prism2mib_flag.
Modify call sites accordingly.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190802060913.30241-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mib.c