From patchwork Fri Oct 23 20:03:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Conole X-Patchwork-Id: 7982 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 1021D5A1F; Fri, 23 Oct 2015 22:04:02 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 508729E5 for ; Fri, 23 Oct 2015 22:04:00 +0200 (CEST) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id B798C19CBBF; Fri, 23 Oct 2015 20:03:59 +0000 (UTC) Received: from aconole.bos.com (dhcp-25-6.bos.redhat.com [10.18.25.6]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t9NK3x68004032; Fri, 23 Oct 2015 16:03:59 -0400 From: Aaron Conole To: dev@dpdk.org Date: Fri, 23 Oct 2015 16:03:57 -0400 Message-Id: <1445630637-32293-1-git-send-email-aconole@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: Alan Carew Subject: [dpdk-dev] [PATCH] librte_power: channel_commands: Remove duplicate definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The CHANNEL_CMDS_MAX_VM_CHANNELS is duplicated in the channel_commands header file. This commit removes that duplication. fixes 210c383e247b5335cd95223fac1c0880ebbd5c96 ("power: packet format for ...") Signed-off-by: Aaron Conole Acked-by: Bruce Richardson --- lib/librte_power/channel_commands.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h index 7e78a8b..de6d926 100644 --- a/lib/librte_power/channel_commands.h +++ b/lib/librte_power/channel_commands.h @@ -50,9 +50,6 @@ extern "C" { /* Maximum number of channels per VM */ #define CHANNEL_CMDS_MAX_VM_CHANNELS 64 -/* Maximum number of channels per VM */ -#define CHANNEL_CMDS_MAX_VM_CHANNELS 64 - /* Valid Commands */ #define CPU_POWER 1 #define CPU_POWER_CONNECT 2