Skip to content

Commit dd0afec

Browse files
jerome-pouillerdanieldegrasse
authored andcommitted
drivers: wifi: siwx91x: Clean up included files
To avoid confusion, we prefer to only keep header files really used by the source file. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
1 parent 9cee7a1 commit dd0afec

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

drivers/wifi/siwx91x/siwx91x_wifi.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*/
66
#define DT_DRV_COMPAT silabs_siwx91x_wifi
77

8-
#include <zephyr/logging/log.h>
9-
#include <zephyr/sys/__assert.h>
108
#include <zephyr/version.h>
119

1210
#include <nwp.h>
@@ -18,13 +16,7 @@
1816
#include "siwx91x_wifi_sta.h"
1917

2018
#include "sl_rsi_utility.h"
21-
#include "sl_net_constants.h"
22-
#include "sl_wifi_types.h"
2319
#include "sl_wifi_callback_framework.h"
24-
#include "sl_net_default_values.h"
25-
#include "sl_wifi.h"
26-
#include "sl_net.h"
27-
#include "sl_wifi_constants.h"
2820

2921
#define SIWX91X_DRIVER_VERSION KERNEL_VERSION_STRING
3022

drivers/wifi/siwx91x/siwx91x_wifi.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@
55
#ifndef SIWX91X_WIFI_H
66
#define SIWX91X_WIFI_H
77

8-
#include <zephyr/net/net_context.h>
98
#include <zephyr/net/wifi_mgmt.h>
10-
#include <zephyr/net/wifi.h>
11-
#include <zephyr/kernel.h>
129

13-
#include "sl_ieee802_types.h"
1410
#include "sl_si91x_types.h"
15-
#include "sl_si91x_protocol_types.h"
1611

1712
struct siwx91x_dev {
1813
struct net_if *iface;

0 commit comments

Comments
 (0)