hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/wireless/intersil/hostap/hostap_ioctl.c
....@@ -1955,7 +1955,7 @@
19551955 char *buffer, int buflen)
19561956 {
19571957 struct hfa384x_hostscan_result *scan;
1958
- int entry, hostscan;
1958
+ int entry;
19591959 char *current_ev = buffer;
19601960 char *end_buf = buffer + buflen;
19611961 struct list_head *ptr;
....@@ -1968,7 +1968,6 @@
19681968 bss->included = 0;
19691969 }
19701970
1971
- hostscan = local->last_scan_type == PRISM2_HOSTSCAN;
19721971 for (entry = 0; entry < local->last_scan_results_count; entry++) {
19731972 int found = 0;
19741973 scan = &local->last_scan_results[entry];