staging: wlan-ng: Remove unused struct wlan_ie_supp_rates references
authorDeepak R Varma <drv@mailo.com>
Tue, 1 Nov 2022 13:48:35 +0000 (19:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Nov 2022 07:30:20 +0000 (08:30 +0100)
commit2a899064b60ad1ede8a3990bd512e859b15896d5
tree4681118ab8d3c7669cb184978e62fb373fe9db92
parent72cdc5aec2913bef5dd62eb75cadad8bff27fd8e
staging: wlan-ng: Remove unused struct wlan_ie_supp_rates references

Pointer reference to struct wlan_ie_supp_rates is added as a member
variable to 7 different structures. However, these references are
never used. Remove such unused struct references. The cleanup also
renders the struct useless; so remove it as well.
Issue identified as part of coccicheck based code analysis.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Suggested-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/370feb1f300896af66fa1c443d3ad19dc8934be3.1667308828.git.drv@mailo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211mgmt.h