Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:45:35 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365129 - in head/sys/dev/wtap: . plugins wtap_hal
Message-ID:  <202009012145.081LjZ9A039913@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 21:45:35 2020
New Revision: 365129
URL: https://svnweb.freebsd.org/changeset/base/365129

Log:
  wtap: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/wtap/if_wtap_module.c
  head/sys/dev/wtap/plugins/visibility.c
  head/sys/dev/wtap/plugins/visibility.h
  head/sys/dev/wtap/plugins/visibility_ioctl.h
  head/sys/dev/wtap/plugins/wtap_plugin.h
  head/sys/dev/wtap/wtap_hal/hal.c
  head/sys/dev/wtap/wtap_hal/hal.h
  head/sys/dev/wtap/wtap_hal/handler.h

Modified: head/sys/dev/wtap/if_wtap_module.c
==============================================================================
--- head/sys/dev/wtap/if_wtap_module.c	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/if_wtap_module.c	Tue Sep  1 21:45:35 2020	(r365129)
@@ -70,12 +70,10 @@
 
 #include <net/bpf.h>
 
-
 #include <sys/errno.h>
 #include <sys/conf.h>   /* cdevsw struct */
 #include <sys/uio.h>    /* uio struct */
 
-
 #include <netinet/in.h>
 #include <netinet/if_ether.h>
 
@@ -131,7 +129,6 @@ wtap_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
 	CURVNET_RESTORE();
 	return error;
 }
-
 
 /* The function called at load/unload. */
 static int

Modified: head/sys/dev/wtap/plugins/visibility.c
==============================================================================
--- head/sys/dev/wtap/plugins/visibility.c	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/plugins/visibility.c	Tue Sep  1 21:45:35 2020	(r365129)
@@ -70,7 +70,6 @@
 
 #include <net/bpf.h>
 
-
 #include <sys/errno.h>
 #include <sys/conf.h>   /* cdevsw struct */
 #include <sys/uio.h>    /* uio struct */
@@ -200,7 +199,6 @@ del_link(struct visibility_plugin *vis_plugin, struct 
 #endif
 }
 
-
 int
 vis_ioctl(struct cdev *sdev, u_long cmd, caddr_t data,
     int fflag, struct thread *td)
@@ -239,4 +237,3 @@ vis_ioctl(struct cdev *sdev, u_long cmd, caddr_t data,
 	CURVNET_RESTORE();
 	return error;
 }
-

Modified: head/sys/dev/wtap/plugins/visibility.h
==============================================================================
--- head/sys/dev/wtap/plugins/visibility.h	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/plugins/visibility.h	Tue Sep  1 21:45:35 2020	(r365129)
@@ -55,4 +55,3 @@ void visibility_deinit(struct wtap_plugin *);
 void visibility_work(struct wtap_plugin *, struct packet *);
 
 #endif
-

Modified: head/sys/dev/wtap/plugins/visibility_ioctl.h
==============================================================================
--- head/sys/dev/wtap/plugins/visibility_ioctl.h	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/plugins/visibility_ioctl.h	Tue Sep  1 21:45:35 2020	(r365129)
@@ -50,4 +50,3 @@ struct link {
 #define VISIOCTLLINK _IOW('W', 4, struct link) //
 
 #endif
-

Modified: head/sys/dev/wtap/plugins/wtap_plugin.h
==============================================================================
--- head/sys/dev/wtap/plugins/wtap_plugin.h	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/plugins/wtap_plugin.h	Tue Sep  1 21:45:35 2020	(r365129)
@@ -37,7 +37,6 @@
 #include "../if_medium.h"
 #include "../wtap_hal/hal.h"
 
-
 struct wtap_plugin {
 	struct cdev	*wp_sdev;
 	struct wtap_hal	*wp_hal;
@@ -47,4 +46,3 @@ struct wtap_plugin {
 };
 
 #endif
-

Modified: head/sys/dev/wtap/wtap_hal/hal.c
==============================================================================
--- head/sys/dev/wtap/wtap_hal/hal.c	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/wtap_hal/hal.c	Tue Sep  1 21:45:35 2020	(r365129)
@@ -214,4 +214,3 @@ free_wtap(struct wtap_hal *hal, int32_t id)
 	hal->hal_devs[id] = NULL;
 	return 0;
 }
-

Modified: head/sys/dev/wtap/wtap_hal/hal.h
==============================================================================
--- head/sys/dev/wtap/wtap_hal/hal.h	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/wtap_hal/hal.h	Tue Sep  1 21:45:35 2020	(r365129)
@@ -52,6 +52,4 @@ void deregister_plugin(struct wtap_hal *);
 int32_t new_wtap(struct wtap_hal *, int32_t id);
 int32_t free_wtap(struct wtap_hal *, int32_t id);
 
-
 #endif
-

Modified: head/sys/dev/wtap/wtap_hal/handler.h
==============================================================================
--- head/sys/dev/wtap/wtap_hal/handler.h	Tue Sep  1 21:45:08 2020	(r365128)
+++ head/sys/dev/wtap/wtap_hal/handler.h	Tue Sep  1 21:45:35 2020	(r365129)
@@ -49,4 +49,3 @@ struct eventhandler {
 };
 
 #endif
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012145.081LjZ9A039913>