Skip to content

Commit 314fd52

Browse files
musamaanjumgregkh
authored andcommitted
staging: wfx: remove unused included header files
Many header files have been included, but never used. Those header files have been removed. Signed-off-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/r/20210211143637.GA177425@LEGION Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent dc31fc6 commit 314fd52

27 files changed

+0
-106
lines changed

drivers/staging/wfx/bh.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Copyright (c) 2017-2020, Silicon Laboratories, Inc.
66
* Copyright (c) 2010, ST-Ericsson
77
*/
8-
#include <linux/gpio/consumer.h>
98
#include <net/mac80211.h>
109

1110
#include "bh.h"

drivers/staging/wfx/bh.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
#ifndef WFX_BH_H
99
#define WFX_BH_H
1010

11-
#include <linux/atomic.h>
12-
#include <linux/wait.h>
13-
#include <linux/workqueue.h>
14-
1511
struct wfx_dev;
1612

1713
struct wfx_hif {

drivers/staging/wfx/bus.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#ifndef WFX_BUS_H
99
#define WFX_BUS_H
1010

11-
#include <linux/mmc/sdio_func.h>
12-
#include <linux/spi/spi.h>
13-
1411
#define WFX_REG_CONFIG 0x0
1512
#define WFX_REG_CONTROL 0x1
1613
#define WFX_REG_IN_OUT_QUEUE 0x2

drivers/staging/wfx/bus_sdio.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@
55
* Copyright (c) 2017-2020, Silicon Laboratories, Inc.
66
* Copyright (c) 2010, ST-Ericsson
77
*/
8-
#include <linux/module.h>
98
#include <linux/mmc/sdio.h>
109
#include <linux/mmc/sdio_func.h>
1110
#include <linux/mmc/card.h>
12-
#include <linux/interrupt.h>
1311
#include <linux/of_irq.h>
14-
#include <linux/irq.h>
1512

1613
#include "bus.h"
1714
#include "wfx.h"
18-
#include "hwio.h"
19-
#include "main.h"
20-
#include "bh.h"
2115

2216
static const struct wfx_platform_data wfx_sdio_pdata = {
2317
.file_fw = "wfm_wf200",

drivers/staging/wfx/bus_spi.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,12 @@
66
* Copyright (c) 2011, Sagrad Inc.
77
* Copyright (c) 2010, ST-Ericsson
88
*/
9-
#include <linux/module.h>
10-
#include <linux/delay.h>
11-
#include <linux/gpio/consumer.h>
129
#include <linux/spi/spi.h>
13-
#include <linux/interrupt.h>
1410
#include <linux/irq.h>
1511
#include <linux/of.h>
1612

1713
#include "bus.h"
1814
#include "wfx.h"
19-
#include "hwio.h"
20-
#include "main.h"
21-
#include "bh.h"
2215

2316
#define SET_WRITE 0x7FFF /* usage: and operation */
2417
#define SET_READ 0x8000 /* usage: or operation */

drivers/staging/wfx/data_rx.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@
55
* Copyright (c) 2017-2020, Silicon Laboratories, Inc.
66
* Copyright (c) 2010, ST-Ericsson
77
*/
8-
#include <linux/etherdevice.h>
9-
#include <net/mac80211.h>
10-
118
#include "data_rx.h"
129
#include "wfx.h"
13-
#include "bh.h"
14-
#include "sta.h"
1510

1611
static void wfx_rx_handle_ba(struct wfx_vif *wvif, struct ieee80211_mgmt *mgmt)
1712
{

drivers/staging/wfx/data_tx.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@
66
* Copyright (c) 2010, ST-Ericsson
77
*/
88
#include <net/mac80211.h>
9-
#include <linux/etherdevice.h>
109

11-
#include "data_tx.h"
1210
#include "wfx.h"
13-
#include "bh.h"
1411
#include "sta.h"
15-
#include "queue.h"
16-
#include "debug.h"
1712
#include "traces.h"
1813
#include "hif_tx_mib.h"
1914

drivers/staging/wfx/data_tx.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#ifndef WFX_DATA_TX_H
99
#define WFX_DATA_TX_H
1010

11-
#include <linux/list.h>
12-
#include <net/mac80211.h>
13-
1411
#include "hif_api_cmd.h"
1512
#include "hif_api_mib.h"
1613

drivers/staging/wfx/debug.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,9 @@
55
* Copyright (c) 2017-2020, Silicon Laboratories, Inc.
66
* Copyright (c) 2010, ST-Ericsson
77
*/
8-
#include <linux/debugfs.h>
9-
#include <linux/seq_file.h>
10-
#include <linux/crc32.h>
11-
128
#include "debug.h"
139
#include "wfx.h"
1410
#include "sta.h"
15-
#include "main.h"
16-
#include "hif_tx.h"
1711
#include "hif_tx_mib.h"
1812

1913
#define CREATE_TRACE_POINTS

drivers/staging/wfx/fwio.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* Copyright (c) 2010, ST-Ericsson
77
*/
88
#include <linux/firmware.h>
9-
#include <linux/slab.h>
10-
#include <linux/mm.h>
119
#include <linux/bitfield.h>
1210

1311
#include "fwio.h"

0 commit comments

Comments
 (0)