From owner-svn-src-all@freebsd.org Sun Jun 30 20:21:28 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 747DD15DE42E; Sun, 30 Jun 2019 20:21:28 +0000 (UTC) (envelope-from tsoome@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) server-signature RSA-PSS (4096 bits) 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 178186E3E2; Sun, 30 Jun 2019 20:21:28 +0000 (UTC) (envelope-from tsoome@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 DE2E42804; Sun, 30 Jun 2019 20:21:27 +0000 (UTC) (envelope-from tsoome@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5UKLRlu012941; Sun, 30 Jun 2019 20:21:27 GMT (envelope-from tsoome@FreeBSD.org) Received: (from tsoome@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5UKLR0C012940; Sun, 30 Jun 2019 20:21:27 GMT (envelope-from tsoome@FreeBSD.org) Message-Id: <201906302021.x5UKLR0C012940@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tsoome set sender to tsoome@FreeBSD.org using -f From: Toomas Soome Date: Sun, 30 Jun 2019 20:21:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r349566 - head/stand/efi/libefi X-SVN-Group: head X-SVN-Commit-Author: tsoome X-SVN-Commit-Paths: head/stand/efi/libefi X-SVN-Commit-Revision: 349566 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 178186E3E2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 30 Jun 2019 20:21:28 -0000 Author: tsoome Date: Sun Jun 30 20:21:27 2019 New Revision: 349566 URL: https://svnweb.freebsd.org/changeset/base/349566 Log: efihttp: mark unused arguments with __unused we do have __unused, lets use it. Modified: head/stand/efi/libefi/efihttp.c Modified: head/stand/efi/libefi/efihttp.c ============================================================================== --- head/stand/efi/libefi/efihttp.c Sun Jun 30 20:18:31 2019 (r349565) +++ head/stand/efi/libefi/efihttp.c Sun Jun 30 20:21:27 2019 (r349566) @@ -108,7 +108,7 @@ struct fs_ops efihttp_fsops = { }; static void EFIAPI -notify(EFI_EVENT event, void *context) +notify(EFI_EVENT event __unused, void *context) { bool *b; @@ -217,8 +217,9 @@ efihttp_dev_init(void) } static int -efihttp_dev_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, - size_t *rsize) +efihttp_dev_strategy(void *devdata __unused, int rw __unused, + daddr_t blk __unused, size_t size __unused, char *buf __unused, + size_t *rsize __unused) { return (EIO); } @@ -583,7 +584,7 @@ efihttp_fs_open(const char *path, struct open_file *f) } static int -efihttp_fs_close(struct open_file *f) +efihttp_fs_close(struct open_file *f __unused) { return (0); } @@ -677,7 +678,8 @@ end: } static int -efihttp_fs_write(struct open_file *f, const void *buf, size_t size, size_t *resid) +efihttp_fs_write(struct open_file *f __unused, const void *buf __unused, + size_t size __unused, size_t *resid __unused) { return (EIO); }