Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3904435pxm; Tue, 1 Mar 2022 07:35:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJ3OTMtUXFVKAF6CCHbHtHggJEHp1neVMB2Fu3UPOT4y1YRrulXhS5QLJPVUX3jCTr7Pc2 X-Received: by 2002:aa7:d9d9:0:b0:415:9ec3:e124 with SMTP id v25-20020aa7d9d9000000b004159ec3e124mr1667806eds.15.1646148955012; Tue, 01 Mar 2022 07:35:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646148955; cv=pass; d=google.com; s=arc-20160816; b=H5R2Q+JAs5PKr2Zjl0/x5BPjGvQt3JD3kiQvuFPsjJr0/YwLUmZs+Rfo8R9xdUkcU2 XRKTK8755CSRq2ch/jtlKYPne0ihB7Bh5KyCSNbHX7fE5Jt4snfmlUFXfDck01LcMztD H7T2oE3QdTQ/ypbJ2rW+KRzX+TSZ34xs4wIQ+BQUh5n0Cx+buf0Fhjnhrakf0ziFygFZ Jcd/bWOlxYXVPakHvH08MwQTGO07DHtq563GnLQNgObpHDPczJb+98V6YJjgq81aGfnk 49fv9wfeFy30/1mmMihM5rr8bhmXNXdTHyWsA06HGss5ccMLcfjEPSNOLbE4OyZHwPBQ ZkvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=unQjfd55W5pWsGPF0DgIfnyK6p+y/uD8/BZU9Pp4uQE=; b=cL92Oj8LWYzfw38lBjIh3m5OK0Rp4n04Jw7Esks5ZesBCjAjJ18NaVepfpYVDejnp/ 80xsv0sG2H62xmALgExJ0mugg7Rp6ojfoCpdA9fImtWldBzotHxF/lqIXUBFnPKNkJVk 9k7cQkxMdhQEhu0A6LiNzs3jguk5+Bk+NpatnxR1iVA/Hp48byZTVkk66sbRYvUPu2f7 y4K4j5I5YyChZdfhdQW9Xs+wdj9F9n3jY2Ma7avtXPyXGSbubapQbP6/cmrQXNyGfLyf 9jOOfDxC4M7xRfUV36nZSNFTdQvIvmAAoPJjWJ4/FsWdfnG+VzwGT51nihjdCH0nvaT4 Xw1g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=RHOagGtZ; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020aa7c586000000b00412e5dbc9desi8899964edq.583.2022.03.01.07.35.32; Tue, 01 Mar 2022 07:35:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=RHOagGtZ; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231315AbiCAOh3 (ORCPT + 99 others); Tue, 1 Mar 2022 09:37:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234969AbiCAOh2 (ORCPT ); Tue, 1 Mar 2022 09:37:28 -0500 Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01olkn2162.outbound.protection.outlook.com [40.92.62.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D24CA147D; Tue, 1 Mar 2022 06:36:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jCyUmwavYzNCCVUTRQZj2glPFAsvHyVizT2TDMUXU60yMckbtsT2O9mxGsx3LUtFv8BuJ/E/l7grkAMEDzAsjZVNUWhViMnQU92PC2iZTUWAPZGhfj1hHipRuqS0FDxdYNk8+nRmJ9hFTieqRUajr7uSjHAZfv+D/I5zb1LOtj7YZ0lJMRWJ53XzKIIvfzLgUv/tirGjL/pabggG12WOYzJTb8xC8ODAzZ7UYTam47teKra7wU7Ay9hYZNpQf0hG0fzsrhDj8OH534oC23ShbQYEiJvoLJGj8RbKsTxcYyKEcPmNAXAT5fTtx+uuJQZwwUJiB6NK5HOpCCbOcpLKIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=unQjfd55W5pWsGPF0DgIfnyK6p+y/uD8/BZU9Pp4uQE=; b=O9SCUAZgzaPbCl0VUGfxqlsDGUBPJ8asznkmiwrcsqu+ZwtyO/AH/7MROGhIXqFqqlAdm2KSqSdelU/DjLRCAIdhLZuleTULb39L4UPPFCdM560zJom5jUvrjeugakivQecI83jlNmgeK0C06y+suABKy3QkJ+uiEnQP/kvoS0UnbwrpxFH5UryU99DyWhckSfXe/x2C1C1FgBIFfen7Avyl5GmE5ERVURc/gYB9PCnvkCJH19ypr1T3ooydqTcb/0GYb12gLxqg66A/LgjoS6evdQQROU/xp5VOop5AycaTXq9Gl4MNiBMvtPOAijgZEfIoF6INwJWWSCQzXQZIKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=unQjfd55W5pWsGPF0DgIfnyK6p+y/uD8/BZU9Pp4uQE=; b=RHOagGtZtzYMVHCi96dO7qDqRZv1pNieKqTpyWJQG5yccsWKC9RshD4NbRHsIuYAB3+DvrSFWRcxttCFQ/JXToMHTq8/RUBDyxjtvjgGONHKVSWxtr64/qROlshe5kkoVIYB6+rUH4PJOVWJx76n7FiMlmM5eKF8AFAUFWza+AEZSHbehRIFursHMsNssyUrYuWJd35lNpTVZY83rFwahhj9rPatWeNCzBGnBwmPuD9WaK853htH6hHoarKdGvuvIFbatEvrn3qRfuydBoAfvfKhq9kPUEMrtmnvHvu1IwcXtWl2YVwDCs2ZJvPsfWT5QDtN9MRCBzlc9XWRVUN5pg== Received: from SYZP282MB3331.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:16c::18) by ME3P282MB3902.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:1b6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23; Tue, 1 Mar 2022 14:36:42 +0000 Received: from SYZP282MB3331.AUSP282.PROD.OUTLOOK.COM ([fe80::6855:2b32:afdf:7cd0]) by SYZP282MB3331.AUSP282.PROD.OUTLOOK.COM ([fe80::6855:2b32:afdf:7cd0%4]) with mapi id 15.20.5017.027; Tue, 1 Mar 2022 14:36:42 +0000 From: Tao Chen To: edumazet@google.com, davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tao Chen Subject: [PATCH v2] tcp: Remove the unused api Date: Tue, 1 Mar 2022 06:35:42 -0800 Message-ID: X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-TMN: [p3W4J5laGABtap5dHIyIC8Ycxg0qNWaW] X-ClientProxiedBy: HK0PR01CA0064.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::28) To SYZP282MB3331.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:16c::18) X-Microsoft-Original-Message-ID: <20220301143542.36116-1-chentao3@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6a0c7126-5c33-484e-9402-08d9fb90e510 X-MS-Exchange-SLBlob-MailProps: vJxI5U0j4N5GrV8Xh0i7CpMlcr4Gx/E4OfmnlGp3SnDbzWkZqlcaAxVBWPa2n+kKBPFuCmGJQp+lhMN6n8T58i5FzYBihO8S2UG7nBMlaSWakKUfbJwaDyFeBqCz7dRdi+TS8Wft93utIGiRzWkVM7Qy4aiFFukDNdQSfBUqZiIfT2EX3Zy0qx3SLSLfa3CcvqMr9ooI7y6Oa2CgebBq1iU9lCuePf+R6V/HR+eP8yw+1t22XKXE7wdsZ92ZOgJ4W85gOD9chjTuMpSYqx94tTMqa5zQ6KoQlNuEoQ2esIILFhFYl7XuYmPmflCb3GfkU8EhXsc8QKf0MuYkgnI2XlNUan3De48929CbtF9mG3QC4TA0rFt8JR43LHH2c1KkpuEDDeIWU31BsCQ0FF/3aKu2KHtLUWnII793YWmyH27xmd8epCV4cUbTOOhPQXwYqlAsm2ceYWS7qyVNYfd7CjzjTZR0FtagW9AeqytIDy8uzYA9HZEDpHfh4b6AGFH4MMmhH2XNesWTKg8d/hbkMpzOMx8ZcNt2kX1P9+wLpuPGgwyJLpfC4h0rjWNoJTQ8O3v3OjhaOdthwip3jjFSbL5K4wUc31u30SEDMA/e38saULSmJsySM3w/f/OygrLU8DSZ/2gczzxDHwgvkA4ylHV4gKwPoSNzkyXDK7TiW9BTX5rWYtCPBJ0/YOGAJpK7AtTdtWB65nvqHJi3M//dW5z+D8XYkyQr X-MS-TrafficTypeDiagnostic: ME3P282MB3902:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: arbrvoktAy4B70Yii5JmGaO++QzeAl8IY1qFkUz7bwq+4s9bJrKTskomH2f4ml6gJtE8BkWF6DMy+meQ6O7zYC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4gYJ5tx5?= =?us-ascii?Q?yUA1TGRhYQmPznGONKxqgRENuNXHjqaJGg0nzpOnonH5l/4pQolwVUlS2UXe?= =?us-ascii?Q?X4SPiXAl0d1M/T6AHxIzwT+utqLxVKInzrAC72hXb8Ed4GwX+djjZZzXxWAl?= =?us-ascii?Q?LV+5sNpr1NSI4unFDk0g5/8+pHEfoiDqZV9JDjZD2EUzVSPo8PxzAcppzKqL?= =?us-ascii?Q?l072iHd2tSfDZUfCVu5tQ9h7ar959UHYH29Vp6yjJelhvVdehwUfzLsB1IBG?= =?us-ascii?Q?oBfZ3OlWRVCvN8TO4u4zxDwQFc9xxC/C4xSZ2zKDN+D0mZIDSd/dvchkbdmG?= =?us-ascii?Q?xt2F6S2AU2ZS72MtntvbZhe00djRnmSM/whBZZCkyc4PpCuvpvDCFXn0Clpt?= =?us-ascii?Q?7Spm8qdMN4Bzk0dPoQdRr2xvxwaSmnAVqHMNDHbaZLkaWmsgmBlvOsftkTWN?= =?us-ascii?Q?bBKbP3Omcsu9TegFPFRgFtOrs8eGcCisJNmEtteFDx1rjt8pkX5/IzCdcaD8?= =?us-ascii?Q?sbSlLjpSzdTwguumuINJUoePrSMmgE8penbaGUzPHjAlYe4XICWGVljPYw0D?= =?us-ascii?Q?KPhPmOGObRwlxNfy34k9CQ=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-746f3.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 6a0c7126-5c33-484e-9402-08d9fb90e510 X-MS-Exchange-CrossTenant-AuthSource: SYZP282MB3331.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2022 14:36:42.8290 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME3P282MB3902 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Last tcp_write_queue_head() use was removed in commit 114f39feab36 ("tcp: restore autocorking"), so remove it. Signed-off-by: Tao Chen --- include/net/tcp.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/net/tcp.h b/include/net/tcp.h index b9fc978fb2ca..a4cebb7f6f9b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1817,11 +1817,6 @@ static inline struct sk_buff *tcp_rtx_queue_tail(const struct sock *sk) return skb_rb_last(&sk->tcp_rtx_queue); } -static inline struct sk_buff *tcp_write_queue_head(const struct sock *sk) -{ - return skb_peek(&sk->sk_write_queue); -} - static inline struct sk_buff *tcp_write_queue_tail(const struct sock *sk) { return skb_peek_tail(&sk->sk_write_queue); -- 2.17.1