git: 5a461a86cf5b - main - mlx4: remove no longer needed header

Bjoern A. Zeeb bz at FreeBSD.org
Fri Mar 26 16:05:54 UTC 2021


The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=5a461a86cf5bb0ac4ffde3caf03df0386ddad6cc

commit 5a461a86cf5bb0ac4ffde3caf03df0386ddad6cc
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-03-26 15:56:02 +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
    MFC-after:      2 weeks
    Reviewed-by:    hselasky
    X-D-R:          D29366 (extracted as further cleanup)
    Differential Revision:  https://reviews.freebsd.org/D29428
---
 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-main mailing list