Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1190810pxk; Fri, 18 Sep 2020 06:18:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfjffjuk9CYEzpySXiEWwyi/dAQKzZCb4NwOTNxjQwwL/2V9dN3qWCMQL59luzMODs/MVg X-Received: by 2002:a17:906:2b83:: with SMTP id m3mr18025199ejg.456.1600435111739; Fri, 18 Sep 2020 06:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600435111; cv=none; d=google.com; s=arc-20160816; b=fGLHlPH3P+fHbD2nZO9HrWA9xeJBSP+92MSfU+LtZ7s++LumqN0HA3kiBYbdlGsijm GcvHTpj3QcIsEGENRZQtml52MxT8ENP5osAad8sqZJZ7tftHZV/aSTjLV7uZ30uZUr9l bqGfOh0lEfSRCosQwm6TPC09RIGwDOCvqflQvG3NGuMvc64yvSyaANJ+X7ZA3N9RRfI9 10gVZjpzTskcyqd8BJg+MX3vfg8HPjCJkF9GYZ0eVJfoBJ59eyxl6dlDTZT5dOnyLboM m9B4eb2Mx34fBC9DOyx3rAET22pr6yZqgGQKqD3nweVJdefoBt4lpErVwXsMaX1cYMYF 35eg== ARC-Message-Signature: i=1; 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; bh=w97bScEK0T/DG1Cuju1cqbfYLd6wmXTk/pODKO41ego=; b=xDA676EaCF4jgbzSsAJ8aq+Pc+c/Gk0mIoseZnMNTOLiNlShqJI9GbyAoPALrMmCBp RphRo7yQ7pluOy2tPw/Aj5cQwaxAqctLA013LwiDpw9WhtrDfdq+WYtzWluxF5cMKCaP aLY/ykh122z6wXu55OR+dxS6czdlmQmoLoA9wxwVBrvf7OsKvuoq+IwWZHycX0hBP4KA 8N2C8VoHKoLassGkuw1OQviWheLKaeF90VOHbHo7VB4WbA70wpuQp9JcLH4/XWu9tkFv DZuBWSsEkgb/+8YwbNNnMyUbv76fDCF+PzhdYx9+c6xLUVz0CHqQgjQhIePpIAnbuTc9 Wu8g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e25si2186917edv.202.2020.09.18.06.18.08; Fri, 18 Sep 2020 06:18:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726783AbgIRNRO (ORCPT + 99 others); Fri, 18 Sep 2020 09:17:14 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:13265 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726174AbgIRNRN (ORCPT ); Fri, 18 Sep 2020 09:17:13 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C478EDD78A11CC0D0878; Fri, 18 Sep 2020 21:17:09 +0800 (CST) Received: from localhost (10.174.179.108) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Fri, 18 Sep 2020 21:17:01 +0800 From: YueHaibing To: , , , , , , , CC: , , , , , YueHaibing Subject: [PATCH net-next] ipvs: Remove unused macros Date: Fri, 18 Sep 2020 21:16:56 +0800 Message-ID: <20200918131656.46260-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.108] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org They are not used since commit e4ff67513096 ("ipvs: add sync_maxlen parameter for the sync daemon") Signed-off-by: YueHaibing --- net/netfilter/ipvs/ip_vs_sync.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c index 2b8abbfe018c..16b48064f715 100644 --- a/net/netfilter/ipvs/ip_vs_sync.c +++ b/net/netfilter/ipvs/ip_vs_sync.c @@ -242,9 +242,6 @@ struct ip_vs_sync_thread_data { | IPVS Sync Connection (1) | */ -#define SYNC_MESG_HEADER_LEN 4 -#define MAX_CONNS_PER_SYNCBUFF 255 /* nr_conns in ip_vs_sync_mesg is 8 bit */ - /* Version 0 header */ struct ip_vs_sync_mesg_v0 { __u8 nr_conns; -- 2.17.1