diff --git a/MAINTAINERS.yml b/MAINTAINERS.yml index a223b5d547b..f826175e10b 100644 --- a/MAINTAINERS.yml +++ b/MAINTAINERS.yml @@ -2875,7 +2875,6 @@ Networking: - include/zephyr/net/ieee802154*.h - include/zephyr/net/ptp.h - include/zephyr/net/wifi*.h - - include/zephyr/net/buf.h - include/zephyr/net/dhcpv4*.h - include/zephyr/net/http/ - samples/net/gptp/ @@ -2928,7 +2927,6 @@ Networking: - jukkar files: - doc/services/net_buf/ - - include/zephyr/net/buf.h - include/zephyr/net_buf.h - lib/net_buf/ - tests/lib/net_buf/ diff --git a/doc/releases/migration-guide-4.0.rst b/doc/releases/migration-guide-4.0.rst index 4eeb70c9256..4a7b500c187 100644 --- a/doc/releases/migration-guide-4.0.rst +++ b/doc/releases/migration-guide-4.0.rst @@ -505,7 +505,7 @@ Networking will take network interface pointer as a first parameter. (:github:`77987`) * To facilitate use outside of the networking subsystem, the network buffer header file was renamed - from :zephyr_file:`include/zephyr/net/buf.h` to :zephyr_file:`include/zephyr/net_buf.h` and the + from ``include/zephyr/net/buf.h`` to :zephyr_file:`include/zephyr/net_buf.h` and the implementation moved to :zephyr_file:`lib/net_buf/`. (:github:`78009`) * The ``work_q`` parameter to ``NET_SOCKET_SERVICE_SYNC_DEFINE`` and diff --git a/include/zephyr/net/buf.h b/include/zephyr/net/buf.h deleted file mode 100644 index c537c03057f..00000000000 --- a/include/zephyr/net/buf.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2015 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef ZEPHYR_INCLUDE_NET_BUF_DEPRECATED_H_ -#define ZEPHYR_INCLUDE_NET_BUF_DEPRECATED_H_ - -#include - -#warning This header is deprecated, include instead - -#endif /* ZEPHYR_INCLUDE_NET_BUF_DEPRECATED_H_ */