From patchwork Thu Jul 30 08:00:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kurt Kanzenbach X-Patchwork-Id: 1338702 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=eZb3eT6E; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=MmfXvXEd; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BHNC628cyz9sRK for ; Thu, 30 Jul 2020 18:01:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728999AbgG3IBD (ORCPT ); Thu, 30 Jul 2020 04:01:03 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48736 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728898AbgG3IBA (ORCPT ); Thu, 30 Jul 2020 04:01:00 -0400 From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596096058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fxs0RuNV0kU+KFLUSNh5ecANfQU4v98Fy8pcIy8R6to=; b=eZb3eT6EakJ+vrErm0piNPuBtusSbsHF5ktAu6oNG4+Fdst8N/syyxCH3uG6GR3t9tvHOh XGivdsQFczY5Fck6ICWoZlJs5m98hEhyKRM5jvLIfNjb9ZZ+Yl02ZfYkmHAC98QKXLcc/q mqCo1HwVDULRDEDzZF6yW6ZBchOyfTsm9TACoXnb2WHv059JP629t6a32z0efT6wUtbrlb 5jEpQwjIdg404C76skroLDc8WArOjzg1QPkQBiE/YWAUuw9aME7/+4AkNV3QRUKGQxy0SW HKRVhlZm4pDASRBW4ZxPbSXb46QRHKpuXiO1KOWIwXOhm2ytv1HrIwKdsq97CA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596096058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fxs0RuNV0kU+KFLUSNh5ecANfQU4v98Fy8pcIy8R6to=; b=MmfXvXEd9iEpNWs2tTEh/kllddgBDMo8OVYe1fD6WV1vp53QV4b3fFaCYik45fIG9qdqsi WlIm66VdP++u+aCw== To: Richard Cochran Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Jiri Pirko , Ido Schimmel , Heiner Kallweit , Russell King , Grygorii Strashko , Ivan Khoronzhuk , Samuel Zou , netdev@vger.kernel.org, Petr Machata , Kurt Kanzenbach Subject: [PATCH v3 9/9] ptp: Remove unused macro Date: Thu, 30 Jul 2020 10:00:48 +0200 Message-Id: <20200730080048.32553-10-kurt@linutronix.de> In-Reply-To: <20200730080048.32553-1-kurt@linutronix.de> References: <20200730080048.32553-1-kurt@linutronix.de> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The offset for the control field is not needed anymore. Remove it. Signed-off-by: Kurt Kanzenbach Reviewed-by: Florian Fainelli --- include/linux/ptp_classify.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/ptp_classify.h b/include/linux/ptp_classify.h index f4dd42fddc0c..88408fbb0ab6 100644 --- a/include/linux/ptp_classify.h +++ b/include/linux/ptp_classify.h @@ -36,7 +36,6 @@ #define OFF_PTP_SOURCE_UUID 22 /* PTPv1 only */ #define OFF_PTP_SEQUENCE_ID 30 -#define OFF_PTP_CONTROL 32 /* PTPv1 only */ /* Below defines should actually be removed at some point in time. */ #define IP6_HLEN 40