Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5642302pxj; Wed, 23 Jun 2021 06:02:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2ENztWhullfirSkzGWE2gFY8pQ+Lh9YrHX5GdasIklYJbWP7HcmKdBx1Bf4XNCMik/Aom X-Received: by 2002:a17:906:84c8:: with SMTP id f8mr9634249ejy.169.1624453372251; Wed, 23 Jun 2021 06:02:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624453372; cv=none; d=google.com; s=arc-20160816; b=Ld5Jjg1BfqS88hWyfmCQCd9UdGfge5okShCazREYilAdtQRwr3oPDqDOcwlh+b3dX+ V7dPmaCnt4NWtQeQaU2sKNQ3sV5dJ7+Rj/7bo08C51YU9dqXgFZHHtjWYDM+ivaNwTZI QK27+Ql8CVpPtVC9XjcYhqkZlTo4Xwz1OyzT48ofwrfLIN4DXRJXV0X6erN0we+/+xcF Qe4TmiEz+g8tHLGcDhtY5jvMVo09LCaTNa3lgswTapYpxdeLD8zqDto326rpmi7MMlun 6i+q8giSPmnusGTVdgS9sjhT8nnHOK0rR9iNpM892fdXoYHW2LFmX/VSD4veKQW7lTjr 1uZA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ffHHvblSbftugRKNFHdCEz54FjByJU5jPBUJvQCLlKQ=; b=LbasjJkOQDjb8ha5KHNpjvYVzsWolvojDxglBzlWnjzm+M4PPyoObxNG28VHoJ2jfU emsFmU9xxg1630z7wqeDeQP/C+g96CY7zrJ79mCp/6B//j2D9LnJ5uK85rtfWe80X1TF Q3vV/5BVaVEqMbi3DRwBH+OClQ2/zw3FSSTGR80RPmO1eckVWtOPrJh+Zpmu4PxWZEcT sEdJ2qQLe4SIKBRobgewCdyK52HakPXu9IXP8BW581Q8c5dr9M8fzkAfKjKWSqB1IR9F QNNMMnqtc3S3laz5VMCNS39f1flEMq5i52f5CXop3y9PNXYDkU9ibOfTiq+9V3mj05L4 vzMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oyyFAIRv; 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 h93si26074715edd.605.2021.06.23.06.02.26; Wed, 23 Jun 2021 06:02:52 -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=oyyFAIRv; 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 S230509AbhFWND0 (ORCPT + 99 others); Wed, 23 Jun 2021 09:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbhFWNDZ (ORCPT ); Wed, 23 Jun 2021 09:03:25 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D105C061756 for ; Wed, 23 Jun 2021 06:01:07 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id n23so1588431wms.2 for ; Wed, 23 Jun 2021 06:01:07 -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:mime-version :content-transfer-encoding; bh=ffHHvblSbftugRKNFHdCEz54FjByJU5jPBUJvQCLlKQ=; b=oyyFAIRvKscBPkw8wh5lHltPrhJujf66ARDgrmsGXfZZkEDnR9EdbD8p4USEHKep9i pNglgshUvSTw+JnANym/3qKYIOOJUShQiguybMK3lGMupsNjn/g5Sz1v880K5SdKsc0H PBmlcEi95+urYSkMZzW+hRQl5NiBJOGtVb4l+jfsJ4HNSeQGLOFRQ6pU3nmwoMmWNHyp 54ANU6cb1slIPjkqZAx1c+EjOvf/jEPbZoM1Vh7eyeQQnZtfanHfQyVzT9DGIPWg+LFQ pZcxER23meMDlHIEIYG9Z0aU90B3F6oDeN+smOBEHofDrWumsII0Swobb9Diwf0sHmrZ ZWAQ== 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:mime-version :content-transfer-encoding; bh=ffHHvblSbftugRKNFHdCEz54FjByJU5jPBUJvQCLlKQ=; b=nUQaJkfh/lj7kJ63meEbZePcW50IJkZ8OCeAOXzOO30U7YSpzTWbtQuHuw6289fr8O hBq3yYqCt4tXkAA8alXfEWya9s+KhI+iWImrueMKXDG421tJ2On2V4WJ3+k4TFCjZ1ws 2tWpmj+p1pCudoj3mTWJA5jXZgOfS77h9VOxeHN/Jx0RdGnTODyfzgrzwRJhGb7F3uKN IVMKgMNrf6boB0xjuRJoZMEENAFVi/WIQKqSqQdANwpiEZ5HI3gcijJvKJ2PFsRIjISJ DwUH6EDABFeC/s0csoub8KyplMZL3LtiE8Rct5gTrMMh+pv49rJZmIItlz7s+WvYxtFJ JBDQ== X-Gm-Message-State: AOAM531W5FhRuopK/HNtTx0HfghcVSbFrXziVH4dacEZ42CEfZpymchE ZfCD7Et//HfseHZyB6Dcjd4Tiw8xiLPfMw== X-Received: by 2002:a05:600c:a01:: with SMTP id z1mr10878368wmp.77.1624453265743; Wed, 23 Jun 2021 06:01:05 -0700 (PDT) Received: from agape ([5.171.81.217]) by smtp.gmail.com with ESMTPSA id c8sm1946696wri.91.2021.06.23.06.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 06:01:05 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: convert function to static Date: Wed, 23 Jun 2021 15:01:03 +0200 Message-Id: <20210623130103.7727-1-fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org function chk_sta_is_alive() is used only inside core/rtw_ap.c so remove the prototype and convert it to static. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_ap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c index 23bbdf084631..3e2d8b735fc8 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ap.c +++ b/drivers/staging/rtl8723bs/core/rtw_ap.c @@ -164,8 +164,7 @@ static void update_BCNTIM(struct adapter *padapter) pnetwork_mlmeext->IELength = offset + remainder_ielen; } -u8 chk_sta_is_alive(struct sta_info *psta); -u8 chk_sta_is_alive(struct sta_info *psta) +static u8 chk_sta_is_alive(struct sta_info *psta) { sta_update_last_rx_pkts(psta); -- 2.20.1