Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4221328pxf; Tue, 23 Mar 2021 06:00:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMQpI24Xzh/Rs9Z0FUS62qUswpiQuKPFUKdJrhZ1ag5qOB4XQG5p9H7UcG6oCdoay8b3cX X-Received: by 2002:a05:6402:3487:: with SMTP id v7mr4464695edc.302.1616504415138; Tue, 23 Mar 2021 06:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616504415; cv=none; d=google.com; s=arc-20160816; b=J5Xg5d8Ez+4DORaUg1g12r6VN9wYgP2HSwTsTSyBNw1mIUwC/9HaPnBuKvuU5McGPM jnd8elLKkDHbhy8jYK16VcqbilQV3v8ZJ23r/0sSNfgEj6JDQqiSBVTADbF/+pjYcGpJ zL7l2znK7NhwA9BTu6wkatbim21ZErZ+ThTJQxFe1Kc0a9FFa79A4WW8Km1KnA52FJo/ dGbGin0mK1FuiIvH6KhW/9Pj22bg0Ck0Gr6NzDtkxrGY8KXOumsKDBLJh+ZqU3AZRxXB gXzd0U1KGXPGdLJF9o1FHznEmvjo/7sBiSCDwjqu3/WpyXCAQ0VN6Ov5SgMUZ1O/beIg txoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bk7L2JiHDOx/IGuh0r9SJpyYVpnH5cwXAynzQTVb+fA=; b=MnPYiNF0HCbzOWmg2KUXGrg/2PJbefPKhSEqt9Otp9EZcdfF9GfKCBmlw6E0yF24ec EwurKRvD8n7yGlPBJYn3oVo0Kfzp9p+tdaZdqpESLHBkE2n9ZbJeK1WHX/iHnTa8cwcb Z6qzJZMnJ04gaBwfY8WV1XLUT1G1NVJGoXCl9ZOuk1oNw2vMOHG50qDSLQql1OZoqKBC u8vod0zhFBmWAgegtxqpxtjITl5MJlfZ1elAqJGdk+ViAnBEc/8l47eGzXtNUI5MO5yf 99MD3enBxqrUnjUbUHDQD6y8VR+uAqpCd8bbYJvbzwPJ1w5DP/+WWAJXsgm/v4rbsJ2G EiNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=evIvxGk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si14793758eda.121.2021.03.23.05.59.48; Tue, 23 Mar 2021 06:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=evIvxGk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbhCWM6e (ORCPT + 99 others); Tue, 23 Mar 2021 08:58:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbhCWM6R (ORCPT ); Tue, 23 Mar 2021 08:58:17 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B57AC061574 for ; Tue, 23 Mar 2021 05:58:16 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id hq27so26928751ejc.9 for ; Tue, 23 Mar 2021 05:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bk7L2JiHDOx/IGuh0r9SJpyYVpnH5cwXAynzQTVb+fA=; b=evIvxGk8F6FMbM/wbZcq3iLealOF/+nq4mwaFSYfQulJ2VV14TR4njINb5qdTmmo5I jIq1dc/uoser/WZsbEzzsAGbSX9+nxrHGt9s8Z4OUhWgt334Rvxa2wP7OM9EnAyULlMH CPjFfUK/ZiNIJmzVWDBeq8lTKIpGsVZVEp5n9OS8uTPFxXuN0nXNP5k4trK+6Xm/ychC 1VcfrImW7RzmPdyeVimMnS+URBQjZdaXKioHRm5up/naEfm23+IyJW2Vh+NMY6ULlQw+ 6jUbndCo82mFGNtZtTBHik+wRKIaYz302sWKCDbgX1tlvXmDwnLqzyOjYpBB8GTGnam7 PucA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bk7L2JiHDOx/IGuh0r9SJpyYVpnH5cwXAynzQTVb+fA=; b=sxjzrgfx/1Ne097IFTab+Z61uPYrNbSksJ9eTxjJy4jJImPsqFZeYTuJn/Mou5pjYG +Wrafw36CikI9MJek8L8wPCdF/ifA+kuOgvpW1eGbyQcFQx671aU1VsDkNoi5NJD9xbO ZFSVodceYWOyg9ljrHwN6O60bBODtYOf395P1o0H/pbky/HrCX3oTy7HPq5uPQB+15zJ bmL9xBUvhDWDg6D/0/7PgL7iKwjd7YdydqCC0Ci/B/acOpIBQovtf63jmbB7OHUcBVyR u9BLzVt2aoBahjyZP0pPVSGc8d1rBRyF3a4fZ4Kb79zwnOoqovAvgEff1tQIABbEdKc2 zeFg== X-Gm-Message-State: AOAM531Bn7BkzP0x9bAnWJL0yzZfl18KQLcsorEwB/6Str7ZtDtB+TFz kmPN26PcKI5OBmDd7Jl/fIU= X-Received: by 2002:a17:906:110d:: with SMTP id h13mr4841823eja.357.1616504295130; Tue, 23 Mar 2021 05:58:15 -0700 (PDT) Received: from agape ([151.57.211.10]) by smtp.gmail.com with ESMTPSA id q16sm11051013ejd.15.2021.03.23.05.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 05:58:14 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, apw@canonical.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v2 1/9] staging: rtl8723bs: removed function prototypes in core/rtw_efuse.c Date: Tue, 23 Mar 2021 13:56:28 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix the following checkpatch issues: WARNING: externs should be avoided in .c files 35: FILE: drivers/staging/rtl8723bs/core/rtw_efuse.c:35: +bool removed two function prototypes in core/rtw_efuse.c and made definition static Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_efuse.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c index 32ca10f01413..3701336e7ff6 100644 --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c @@ -32,12 +32,7 @@ u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0}; #define REG_EFUSE_CTRL 0x0030 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ -bool -Efuse_Read1ByteFromFakeContent( - struct adapter *padapter, - u16 Offset, - u8 *Value); -bool +static bool Efuse_Read1ByteFromFakeContent( struct adapter *padapter, u16 Offset, @@ -53,12 +48,7 @@ Efuse_Read1ByteFromFakeContent( return true; } -bool -Efuse_Write1ByteToFakeContent( - struct adapter *padapter, - u16 Offset, - u8 Value); -bool +static bool Efuse_Write1ByteToFakeContent( struct adapter *padapter, u16 Offset, -- 2.20.1