git: 6040536c43fd - stable/13 - mlx4: remove no longer needed header

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 18 00:36:05 UTC 2021


The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=6040536c43fd5e1b47ab73a865ec4e9722bc8746

commit 6040536c43fd5e1b47ab73a865ec4e9722bc8746
Author:     Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-03-26 15:28:24 +0000
Commit:     Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-07-18 00:34:59 +0000

    mlx4: remove no longer needed header
    
    Remove linux/inetdevice.h as neither of the two inline functions there
    are used here.
    
    Sposored by:    The FreeBSD Foundation
    Reviewed by:    hselasky
    Differential Revision:  https://reviews.freebsd.org/D29428
    
    (cherry picked from commit 5a461a86cf5bb0ac4ffde3caf03df0386ddad6cc)
---
 sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c b/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
index 2d628c7868cb..b31744e73be6 100644
--- a/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
+++ b/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
@@ -38,7 +38,6 @@
 #include <linux/errno.h>
 #include <linux/etherdevice.h>
 #include <linux/netdevice.h>
-#include <linux/inetdevice.h>
 #include <linux/if_vlan.h>
 #include <linux/fs.h>
 #include <linux/rcupdate.h>


More information about the dev-commits-src-branches mailing list