Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp590220pxb; Thu, 15 Apr 2021 01:40:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzczPFtIFPL3ElJVzLexMxB9H7fLLo0y2Pw6JucVXaCUxxNa/3hZn91hXBQrVeqdp/AaAiO X-Received: by 2002:a05:6402:12c3:: with SMTP id k3mr2836359edx.86.1618476057793; Thu, 15 Apr 2021 01:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618476057; cv=none; d=google.com; s=arc-20160816; b=YQZ0lCIXRJtri4GdSZnMo48ZHyNYdJ18y2yFCYSgOXHwOXFLP3C7iuOJtiP8Mjg5y8 fGpY9wCOfXH/AWdFgMu47+jM78rITQ4C8AflklTp6q34ssGLEslF5q2q5JtD0Mz7TON/ 8mw6FbY5ivpEo+tvMNSUOziPJnahqaqD5Bpq/YaVO/FeITZetyIB4R5DS+Cd7GxShCEh hmyPQMCCXq+O1N/0ZHRx1rY5GT1PHz6NCEwMono7tAQWvxA2hb0V+AwyKt2zbP0OStQg TgzFpr7S+hcaKhgN8JCQ+5k2yt35xNjDZFk4RKpKosMdl0zTIcIonyYRYOt3avd6qpq8 NKdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=QsHAg4Q1ABjRS0yI5xvdTfP3VLImABzjphFZQ6K3CA4=; b=hW/2za1/3znUhHtsSSIiZKre6ZHlR4OEH18tUiM9nSPIG5RYq2pnWZoiB912wy6L6x NeMqzgc0ShGyuhUpLPcprpPQJ3o7ibg3ekiMuVve5oosGQIaz4Nc5rGR0XTCI3ljoWR0 /N4/qiaHbRVB2XP6NjRicF4iyrzlFXzvs78IHlLG4lQaDPIehrU+HHJn5Cu8qBtuMAek lM65MpvCGQHwe069ki+ZY73NVq5XnuRQ9igSZIlgMKzKsrvfiW9uBeZWbD2s59DyJklM T+f+K+2Xe8ftU5+NyZH6K9DB8RWhp2G8JpjQxevzkr7RzeZOfWAOTDrr4NDzopwXbjPz LzKg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca9si1758786edb.388.2021.04.15.01.40.35; Thu, 15 Apr 2021 01:40:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231744AbhDOIkG (ORCPT + 99 others); Thu, 15 Apr 2021 04:40:06 -0400 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:37426 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231491AbhDOIkF (ORCPT ); Thu, 15 Apr 2021 04:40:05 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R361e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0UVd46nH_1618475976; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UVd46nH_1618475976) by smtp.aliyun-inc.com(127.0.0.1); Thu, 15 Apr 2021 16:39:40 +0800 From: Jiapeng Chong To: axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] block: remove unused function Date: Thu, 15 Apr 2021 16:39:35 +0800 Message-Id: <1618475975-106537-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following clang warning: block/blk-zoned.c:55:24: warning: unused function 'blk_zone_start' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- block/blk-zoned.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/block/blk-zoned.c b/block/blk-zoned.c index c0276b42..250cb76 100644 --- a/block/blk-zoned.c +++ b/block/blk-zoned.c @@ -52,14 +52,6 @@ const char *blk_zone_cond_str(enum blk_zone_cond zone_cond) } EXPORT_SYMBOL_GPL(blk_zone_cond_str); -static inline sector_t blk_zone_start(struct request_queue *q, - sector_t sector) -{ - sector_t zone_mask = blk_queue_zone_sectors(q) - 1; - - return sector & ~zone_mask; -} - /* * Return true if a request is a write requests that needs zone write locking. */ -- 1.8.3.1