Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3420744imm; Mon, 6 Aug 2018 04:37:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcKiGGWxZKssZ/q0o5YzH4juKeZz/fFmQPuFHbPAGvcfSheaTY/dqVAyhMZZPBPGVGo2IFn X-Received: by 2002:a65:5304:: with SMTP id m4-v6mr13945259pgq.250.1533555420462; Mon, 06 Aug 2018 04:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533555420; cv=none; d=google.com; s=arc-20160816; b=HMv6WaDNmZ3B5g79KWD/bvV/fg3Xy0YzBcYxllV8rZL2eDofBBkfpyEbWUOaVow3KP gruL1JwTnjsAGdZ+dVu/iEzTpZ5sa2I00wwINEpe61eDIVbpSysHbLoh1QSJ0ZBLnUis D5p8kD44jiLAcU3GW+DHMal/nAQ7Dlv3HmcyhScyO9hE3MB6ljF/MR7FtMAP6mvfALP6 UeeD7EZ1jCyOnsG6LYO5FDIijshYmfKcTalOiP9HkipRDJC+HTrhfY3QIzOajv+B/qxV x11qjWTuti4uA+vv8sibwQ44NRz5us3mm0QN24PjwRMW09Qp+9H3Z1hrQJDQTIW9XRUL oTlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=94BgDKMGTs4eRdszn7mnSZYZRk6Is1UTnNEDly8GWoU=; b=NtHC1NltQTLZGrHiE6NeyUiXJHv6aapDrIiiDw5OZK5BEMiaqns/GFxBHa79lUJ58A MKiPx1oCxzGUk/1q3UYyiH95jC04BkQcat4eHl8p3KGGDwC4IGatD4DZOWhq3PNr+F1d 3cS/c5IQ/58ldOxQs+Ko9WyxhSyE/hvH5x9dFrxdJNlSChx4WhFOUbsUa0gzH4KeO7SQ F6TO+aAFHzIQxCN2Am8HULFVlD1Mip3BpHFxB6kGup292S/SOeP135UIMzWHYaVMKf/9 v0llf9B4KG2ieKy5qt+DKajotkg9+01gxHaiHn3z/TC1cF+IAbeYP+JuR/lQ3AvAmUqz J9mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6-v6si12709663pgb.446.2018.08.06.04.36.46; Mon, 06 Aug 2018 04:37:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729914AbeHFNm7 (ORCPT + 99 others); Mon, 6 Aug 2018 09:42:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:33660 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727109AbeHFNm7 (ORCPT ); Mon, 6 Aug 2018 09:42:59 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D4F95AE70; Mon, 6 Aug 2018 11:34:18 +0000 (UTC) From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, linux-block@vger.kernel.org Cc: konrad.wilk@oracle.com, roger.pau@citrix.com, axboe@kernel.dk, boris.ostrovsky@oracle.com, Juergen Gross Subject: [PATCH] xen/blkfront: remove unused macros Date: Mon, 6 Aug 2018 13:34:00 +0200 Message-Id: <20180806113403.24728-3-jgross@suse.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180806113403.24728-1-jgross@suse.com> References: <20180806113403.24728-1-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove some macros not used anywhere. Signed-off-by: Juergen Gross --- drivers/block/xen-blkfront.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index b5cedccb5d7d..94300dbe358b 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -251,14 +251,9 @@ static DEFINE_SPINLOCK(minor_lock); #define GRANTS_PER_INDIRECT_FRAME \ (XEN_PAGE_SIZE / sizeof(struct blkif_request_segment)) -#define PSEGS_PER_INDIRECT_FRAME \ - (GRANTS_INDIRECT_FRAME / GRANTS_PSEGS) - #define INDIRECT_GREFS(_grants) \ DIV_ROUND_UP(_grants, GRANTS_PER_INDIRECT_FRAME) -#define GREFS(_psegs) ((_psegs) * GRANTS_PER_PSEG) - static int blkfront_setup_indirect(struct blkfront_ring_info *rinfo); static void blkfront_gather_backend_features(struct blkfront_info *info); static int negotiate_mq(struct blkfront_info *info); -- 2.13.7