Skip to content

Commit 19de7ec

Browse files
mike-scottnashif
authored andcommitted
drivers: modem: wncm14a2a: remove left-over includes
Commit fd14014 ("net/tcp: Move net_tcp_set_hdr() away from net core") removed <net/tcp.h>. This results in a not found error being generated when CONFIG_NET_TCP is enabled. We also, don't need to include <net/udp.h> anymore due to new net_pkt API changes. Let's clean up the includes by removing both of them. Signed-off-by: Michael Scott <[email protected]>
1 parent 104effe commit 19de7ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/modem/wncm14a2a.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@ LOG_MODULE_REGISTER(LOG_DOMAIN);
3030
#include "ipv4.h"
3131
#endif
3232
#if defined(CONFIG_NET_UDP)
33-
#include <net/udp.h>
3433
#include "udp_internal.h"
3534
#endif
36-
#if defined(CONFIG_NET_TCP)
37-
#include <net/tcp.h>
38-
#endif
3935

4036
#include <drivers/modem/modem_receiver.h>
4137

0 commit comments

Comments
 (0)