staging: rtl8192e: Remove unused struct iw_range_with_scan_capa
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 10 Dec 2023 15:25:58 +0000 (16:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:35:20 +0000 (13:35 +0100)
Remove unused struct iw_range_with_scan_capa.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/8b4532b8739ca0baa9fa7c736dab68130510ffe8.1702212003.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c

index 4371ab1239ee2b582e2c9e6b8cf4d9f0dde3602d..4c884c5277f94be222aef10faa2e0305d15bf2ad 100644 (file)
@@ -158,28 +158,6 @@ static int _rtl92e_wx_set_mode(struct net_device *dev,
        return ret;
 }
 
-struct  iw_range_with_scan_capa {
-       /* Informative stuff (to choose between different interface) */
-       __u32      throughput;     /* To give an idea... */
-       /* In theory this value should be the maximum benchmarked
-        * TCP/IP throughput, because with most of these devices the
-        * bit rate is meaningless (overhead an co) to estimate how
-        * fast the connection will go and pick the fastest one.
-        * I suggest people to play with Netperf or any benchmark...
-        */
-
-       /* NWID (or domain id) */
-       __u32      min_nwid;    /* Minimal NWID we are able to set */
-       __u32      max_nwid;    /* Maximal NWID we are able to set */
-
-       /* Old Frequency (backward compat - moved lower ) */
-       __u16      old_num_channels;
-       __u8        old_num_frequency;
-
-       /* Scan capabilities */
-       __u8        scan_capa;
-};
-
 static int _rtl92e_wx_get_range(struct net_device *dev,
                                struct iw_request_info *info,
                                union iwreq_data *wrqu, char *extra)