From owner-svn-src-head@freebsd.org Tue Sep 1 21:45:37 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E9E337BB28; Tue, 1 Sep 2020 21:45:37 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh0xF1QQDz4S49; Tue, 1 Sep 2020 21:45:37 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 13FE61FEE0; Tue, 1 Sep 2020 21:45:37 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081LjaHl039924; Tue, 1 Sep 2020 21:45:36 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LjZ9A039913; Tue, 1 Sep 2020 21:45:35 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012145.081LjZ9A039913@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:45:35 +0000 (UTC) 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 X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: in head/sys/dev/wtap: . plugins wtap_hal X-SVN-Commit-Revision: 365129 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 21:45:37 -0000 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 - #include #include /* cdevsw struct */ #include /* uio struct */ - #include #include @@ -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 - #include #include /* cdevsw struct */ #include /* 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 -