From patchwork Wed Nov 13 17:27:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 179337 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9909298ilf; Wed, 13 Nov 2019 09:30:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwWJ5UolF4Caccxi8HsJJ7hWdBU5xa8hHVSzzcipOu32Hg6Iq2dt6ATVPckg32CwI5GAfIf X-Received: by 2002:a05:600c:214c:: with SMTP id v12mr3802796wml.124.1573666247937; Wed, 13 Nov 2019 09:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573666247; cv=none; d=google.com; s=arc-20160816; b=ctYYz3iIGXmLY+TncVQVSrEgnRZcb5nkJSOgX14Zcr9fzekd0v8lGyEKGH0PFzYm4r PZz9t9ie40uxYFPOZ2MUBbwLHw0J5VNqWTG55fzUxN2s4hqnbQKzvAnuLxLG4zFfzCOo PSbsug/WOyePtAXz2AsNfzl7i4cuGU94rLcmcq0WDSe+jSF+bTZ4HU+U46/oTRR35CUs Pp5m+2hEKpU32Ls9Klch3dYx5yPI0EbImAHSTtdX1N5qj22ciXPKsy+zI1Kb2nYdzIEe uSzWaFw3WMlTMg1UQOqk9BNcnSZyOmSq55zYLJ7YRF7+cmPUdXIUMKjuoLuMuuM2EbsA qqYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=XamIhyn7lAXrwPM+FwazfQNhXu4l9yZa5ZDoQr/UlCg=; b=SD2HYBgTzQDtwBveVJO4vePNJIidaXuQnO/KiT9PICI1duB6fZ5jfouSdhGKHd3F20 7bqTOcPOmnH86IYUiFPJb0ZLcpgo5RJZYaLOFkd+nTqigd927rfI1O/QqnRusbFRy9Yz 7rJtvqcKsb9WiXzeUQbHbZUeLQF/+pqMqFUlRhAq2s8IAfXwEwQvAQNSQZ6Tg87pllNY sdj8O/bsDo8GdI2W5Na8H+85utzxvLyHYw8UDgQOUlrr2YHcMzt4Nw+40BSS+W3GSbzR +Y6z0gYYmdS8SgGYrd7SMwu+gtS+ckTEjr4bbalQjXtX4yUkoagD5zOyYoMKkb8RQ91I Z/Rw== 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 q30si1995994edb.372.2019.11.13.09.30.47; Wed, 13 Nov 2019 09:30:47 -0800 (PST) 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 S1727148AbfKMRaq (ORCPT + 26 others); Wed, 13 Nov 2019 12:30:46 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:54152 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726443AbfKMRap (ORCPT ); Wed, 13 Nov 2019 12:30:45 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DC7CA7D6366D8098886D; Thu, 14 Nov 2019 01:30:42 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Thu, 14 Nov 2019 01:30:36 +0800 From: John Garry To: CC: , , John Garry Subject: [PATCH 0/2] blk-mq/sbitmap: Delete some unused functions Date: Thu, 14 Nov 2019 01:27:20 +0800 Message-ID: <1573666042-176756-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function blk_mq_can_queue() never seemed to ever have been referenced, so delete it and any other now-unused callees. John Garry (2): blk-mq: Delete blk_mq_has_free_tags() and blk_mq_can_queue() sbitmap: Delete sbitmap_any_bit_clear() block/blk-mq-tag.c | 8 -------- block/blk-mq-tag.h | 1 - block/blk-mq.c | 6 ------ include/linux/blk-mq.h | 1 - include/linux/sbitmap.h | 9 --------- lib/sbitmap.c | 17 ----------------- 6 files changed, 42 deletions(-) -- 2.17.1