From owner-svn-src-all@freebsd.org Tue Sep 1 21:48:56 2020 Return-Path: Delivered-To: svn-src-all@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 33D1C37BD58; Tue, 1 Sep 2020 21:48:56 +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 4Bh1140bsWz4T6S; Tue, 1 Sep 2020 21:48:56 +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 ECF7C2001F; Tue, 1 Sep 2020 21:48:55 +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 081Lmtrp040499; Tue, 1 Sep 2020 21:48:55 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LmtTv040498; Tue, 1 Sep 2020 21:48:55 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012148.081LmtTv040498@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:48:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365138 - head/sys/dev/vkbd X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/vkbd X-SVN-Commit-Revision: 365138 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 21:48:56 -0000 Author: mjg Date: Tue Sep 1 21:48:55 2020 New Revision: 365138 URL: https://svnweb.freebsd.org/changeset/base/365138 Log: vkbd: clean up empty lines in .c and .h files Modified: head/sys/dev/vkbd/vkbd.c head/sys/dev/vkbd/vkbd_var.h Modified: head/sys/dev/vkbd/vkbd.c ============================================================================== --- head/sys/dev/vkbd/vkbd.c Tue Sep 1 21:48:37 2020 (r365137) +++ head/sys/dev/vkbd/vkbd.c Tue Sep 1 21:48:55 2020 (r365138) @@ -344,7 +344,7 @@ done: state->ks_flags &= ~READ; VKBD_UNLOCK(state); - + return (error); } @@ -649,7 +649,7 @@ vkbd_init(int unit, keyboard_t **kbdp, void *arg, int imin(fkeymap_size*sizeof(fkeymap[0]), sizeof(fkey_tab))); kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size); kbd->kb_data = (void *)state; - + KBD_FOUND_DEVICE(kbd); KBD_PROBE_DONE(kbd); @@ -1071,7 +1071,7 @@ vkbd_check_char(keyboard_t *kbd) return (FALSE); state = (vkbd_state_t *) kbd->kb_data; - + VKBD_LOCK(state); if (!(state->ks_flags & COMPOSE) && (state->ks_composed_char > 0)) ready = TRUE; @@ -1377,4 +1377,3 @@ vkbd_modevent(module_t mod, int type, void *data) } DEV_MODULE(vkbd, vkbd_modevent, NULL); - Modified: head/sys/dev/vkbd/vkbd_var.h ============================================================================== --- head/sys/dev/vkbd/vkbd_var.h Tue Sep 1 21:48:37 2020 (r365137) +++ head/sys/dev/vkbd/vkbd_var.h Tue Sep 1 21:48:55 2020 (r365138) @@ -50,4 +50,3 @@ typedef struct vkbd_status vkbd_status_t; typedef struct vkbd_status * vkbd_status_p; #endif /* ndef _VKBD_VAR_H_ */ -