Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1169901pxb; Sun, 12 Sep 2021 09:58:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy14EF2M9Zc32yZUQPO/kst200nqD4uas9bTFIX1E3KaIJzYsh0opcMHFCWRmO9JGAk+lIg X-Received: by 2002:a05:6638:2482:: with SMTP id x2mr6225228jat.15.1631465900857; Sun, 12 Sep 2021 09:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631465900; cv=none; d=google.com; s=arc-20160816; b=c43lqGClZIioZaeQZNuNlXw48f3TJDK1NPBcimq7a8AR+PWY9DH09TZZPkAOPzGvz2 T4h4rsM/NAumllHzkrqFv7FdglQljYKCG52vd8Yc6mkXbSN25rrir7ykQHuy7EOtLRUt Q/BKLs9PUzAnzIx4PtURXpquyXmq3sncUQya8hJYY01po3hK3LuB1YqWNMwOc6nj+HJp iSpKFy5o//OK6nhuqa6Q1fukJPpE4uC3lc3M6VxQDK/YAX6Ohx4E+ALsvx5IxJ5SZoye k5bgkpqC2nyc+3g4yCrStbBvbzkfVg3nD9roZpvdPMtDy455dINT1H5PRg9azMwoUnjp 0hAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=5ZnW7wgIj8v2huwzv9gIOWbfF2fYK1I8klziVJNMEds=; b=Cwma4pGIvLP3j/Wo5fZDbYGw4N27MmHKLlCLkqqAYUpt3IIgqsCiEIsIjkOFAQk7QX R0LuxPjMQOokv2UU6f2fx9yLU4Fe3JwKpE5q5a25iQtEvaa4ZmsGoB+v+IB3kkfcvHxk zOHPmtvANbMVhC6TBPrkBOUUBUMLaExyX89XUeCtyHkSqSlELNWF07fEejfEaHyaOixM VWo3xw5vRRCugtQjrjeXd81KqQpenzFd3S63Ed8v3ChGfitCpEjJTsRMBs/5L/ph6Har rEMXM1jkTE6Z6BCaBb2L77cEML9ZSevUQu8l6SNW/1i08POYQ9K2/nLSSN5eNyJBNPD1 U/nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Kso+8M10; 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 k3si4281092ilh.76.2021.09.12.09.58.08; Sun, 12 Sep 2021 09:58:20 -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=20210112 header.b=Kso+8M10; 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 S233391AbhILQ6m (ORCPT + 99 others); Sun, 12 Sep 2021 12:58:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbhILQ6l (ORCPT ); Sun, 12 Sep 2021 12:58:41 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B71CC061574 for ; Sun, 12 Sep 2021 09:57:27 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id c13-20020a17090a558d00b00198e6497a4fso4920268pji.4 for ; Sun, 12 Sep 2021 09:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=5ZnW7wgIj8v2huwzv9gIOWbfF2fYK1I8klziVJNMEds=; b=Kso+8M10k6HyHFtMApN4h/SBDgeknyXjl7Mqng251vsIUfAPSks8qfIg0PtoezlifQ hlrb97XvvAIaO2jYHk+WLDVH5tgsXgucMDloNfqG54gvxLsRxbqAmhLH+1od04RmWdpY Z2TJUOhIqk+rSBIzYUTdWZxw2Xk1TprDVip5qqat+x+LJWl0tlmEzc3OQwiXnJA8vCou U0H3irTBlgMsJ+qs9aTFjs2TNYdf4HFzZBsNrrTtLi3WZim84yjkRUYp43UO0sNtPj2H olC2DMaEK6XeOLbgS19KSHnhcdf76nlSbLDVIpiixZtWwpVFkQPTF+X1YIxaeFYc4n0H ZTxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=5ZnW7wgIj8v2huwzv9gIOWbfF2fYK1I8klziVJNMEds=; b=K31lrJw61qZUGe6Dcz0p9AbL1E+jHGNipb/nHneGzO9fYxKi3KDoV9hQLa6ckVtjTw Tuo5ZtaZMuY3ntcajDthH40SYlCCOb531W4NelpO/pipahLErb3FvF+OU0xGTTAU/tLR M8ueed08EFYWGAmpfA06es/JjKtEWo3w3f+WgHpj9ifGsBFJIikcc3CEr0mXn0TxpVgJ 50waNRXxzCvnRO+6Mh+4GUrl+vewW7gSINY6aMouj/hTvgbNyuG0wpYRdiEPBQTabtxX NTd1Qmb65jflhLKdIrD98EQqmQRi4T80UnfWA/ern8Mbs2bcUR4K1pBZRm6MZJa6i/1P 4NdA== X-Gm-Message-State: AOAM532F9Fb/BkE955y/j/0eVbVMyservLd29DdRkZaeNGZ3QGMc0J1T I6bhrdEGJNZJNPg4QqhuuKY= X-Received: by 2002:a17:902:9a04:b0:13a:1ae3:add2 with SMTP id v4-20020a1709029a0400b0013a1ae3add2mr6842092plp.28.1631465846549; Sun, 12 Sep 2021 09:57:26 -0700 (PDT) Received: from user ([117.98.200.228]) by smtp.gmail.com with ESMTPSA id x22sm4487828pfm.102.2021.09.12.09.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 09:57:26 -0700 (PDT) Date: Sun, 12 Sep 2021 22:27:20 +0530 From: Saurav Girepunje To: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, straube.linux@gmail.com, linux@roeck-us.net, dan.carpenter@oracle.com, martin@kaiser.cx, saurav.girepunje@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] staging: r8188eu: core: remove unused function rtw_set_tx_chksum_offload Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused function rtw_set_tx_chksum_offload. Signed-off-by: Saurav Girepunje --- drivers/staging/r8188eu/core/rtw_xmit.c | 2 -- drivers/staging/r8188eu/include/xmit_osdep.h | 2 -- drivers/staging/r8188eu/os_dep/xmit_linux.c | 4 ---- 3 files changed, 8 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index 46fe62c7c32c..324ab2db674f 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -576,8 +576,6 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p else pattrib->bswenc = false; - rtw_set_tx_chksum_offload(pkt, pattrib); - update_attrib_phy_info(pattrib, psta); exit: diff --git a/drivers/staging/r8188eu/include/xmit_osdep.h b/drivers/staging/r8188eu/include/xmit_osdep.h index 191c36361b63..3e778dff0ed8 100644 --- a/drivers/staging/r8188eu/include/xmit_osdep.h +++ b/drivers/staging/r8188eu/include/xmit_osdep.h @@ -37,8 +37,6 @@ int rtw_os_xmit_resource_alloc(struct adapter *padapter, void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz); -void rtw_set_tx_chksum_offload(struct sk_buff *pkt, struct pkt_attrib *pattrib); - uint rtw_remainder_len(struct pkt_file *pfile); void _rtw_open_pktfile(struct sk_buff *pkt, struct pkt_file *pfile); uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen); diff --git a/drivers/staging/r8188eu/os_dep/xmit_linux.c b/drivers/staging/r8188eu/os_dep/xmit_linux.c index 565ac5be7db3..088c294f2586 100644 --- a/drivers/staging/r8188eu/os_dep/xmit_linux.c +++ b/drivers/staging/r8188eu/os_dep/xmit_linux.c @@ -65,10 +65,6 @@ int rtw_endofpktfile(struct pkt_file *pfile) return false; } -void rtw_set_tx_chksum_offload(struct sk_buff *pkt, struct pkt_attrib *pattrib) -{ -} - int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz) { int i; -- 2.32.0