From patchwork Thu May 14 17:00:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 48529 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD3DC21411 for ; Thu, 14 May 2015 17:02:00 +0000 (UTC) Received: by labgx2 with SMTP id gx2sf22306046lab.1 for ; Thu, 14 May 2015 10:01:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=PRHPVHXG5HcS/njs/UsufuKM8v/xDXKAcs77hDRtfzY=; b=gmVw/lUTH4J3uvcDVB9Qe54TvSGLC/4yE1o3buazV2ACw8lFeQLedjoSbxBWX2NHtR ASCg+36zEXPX/pX1i1FigoTCC4FDnfYkYNAiE8UVuKY68YaBriIY9Htj1OsW6uzV/FMm 6O5iGVeHbVqMc7xIY1JH1K+Ssys8NrATKgP6MCSe8/o3MI7aMneNJShOUlX/VEg1Hz4i KUPG6kcpY/tkSPQ7SzUNQeUYLzWzbZuUBD6iRqAeP6Z2qlI0XW1ipVQbdnXHoHAUlXUz EArfC0IWQb2ORoIzSjRsRQCGsJbRY7hk/isD/93/nGzamRkJzIfUv5ntOlq3R900UKRR J1bg== X-Gm-Message-State: ALoCoQm28NfRACzLInPXTSd+110CKYQT+IeY8obcox86cFeNANC3Ll2mHfz2bE+yinUg0kFvT+1Z X-Received: by 10.112.28.111 with SMTP id a15mr3649764lbh.21.1431622919828; Thu, 14 May 2015 10:01:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.130 with SMTP id ay2ls88371lab.89.gmail; Thu, 14 May 2015 10:01:59 -0700 (PDT) X-Received: by 10.152.27.1 with SMTP id p1mr3855976lag.112.1431622919685; Thu, 14 May 2015 10:01:59 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id pu2si14924189lbb.69.2015.05.14.10.01.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 10:01:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by laat2 with SMTP id t2so76685909laa.1 for ; Thu, 14 May 2015 10:01:59 -0700 (PDT) X-Received: by 10.112.204.6 with SMTP id ku6mr3927151lbc.73.1431622919549; Thu, 14 May 2015 10:01:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1404084lbb; Thu, 14 May 2015 10:01:58 -0700 (PDT) X-Received: by 10.68.139.103 with SMTP id qx7mr9829137pbb.133.1431622916392; Thu, 14 May 2015 10:01:56 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hk5si33355353pdb.35.2015.05.14.10.01.55; Thu, 14 May 2015 10:01:56 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030229AbbENRBv (ORCPT + 28 others); Thu, 14 May 2015 13:01:51 -0400 Received: from smtp.citrix.com ([66.165.176.89]:12457 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932759AbbENRBr (ORCPT ); Thu, 14 May 2015 13:01:47 -0400 X-IronPort-AV: E=Sophos;i="5.13,430,1427760000"; d="scan'208";a="262765065" From: Julien Grall To: CC: , , , , , Julien Grall , Julien Grall , Konrad Rzeszutek Wilk , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Boris Ostrovsky , David Vrabel Subject: [RFC 04/23] block/xen-blkfront: Remove unused macro MAXIMUM_OUTSTANDING_BLOCK_REQS Date: Thu, 14 May 2015 18:00:44 +0100 Message-ID: <1431622863-28575-5-git-send-email-julien.grall@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431622863-28575-1-git-send-email-julien.grall@citrix.com> References: <1431622863-28575-1-git-send-email-julien.grall@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Julien Grall Signed-off-by: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Roger Pau Monné Cc: Boris Ostrovsky Cc: David Vrabel --- drivers/block/xen-blkfront.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 2c61cf8..5c72c25 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -139,8 +139,6 @@ static unsigned int nr_minors; static unsigned long *minors; static DEFINE_SPINLOCK(minor_lock); -#define MAXIMUM_OUTSTANDING_BLOCK_REQS \ - (BLKIF_MAX_SEGMENTS_PER_REQUEST * BLK_RING_SIZE) #define GRANT_INVALID_REF 0 #define PARTS_PER_DISK 16