From patchwork Tue Oct 24 13:56:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= X-Patchwork-Id: 10024641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E6FF60245 for ; Tue, 24 Oct 2017 13:56:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75131289F5 for ; Tue, 24 Oct 2017 13:56:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 641B728A12; Tue, 24 Oct 2017 13:56:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8493289F5 for ; Tue, 24 Oct 2017 13:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317AbdJXN4Y (ORCPT ); Tue, 24 Oct 2017 09:56:24 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:49917 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbdJXN4W (ORCPT ); Tue, 24 Oct 2017 09:56:22 -0400 Received: by mail-wm0-f66.google.com with SMTP id b189so15806124wmd.4 for ; Tue, 24 Oct 2017 06:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QqgqiH8uCuKyIf9MfwsOnausNgr1gHmkvjDjGy6b2LM=; b=NTYtaYmvcQQ5Ronqq9hDvhFcFbVICEC8Cov33kW0TU2WoQIUGNHPVoviqNOXhA9PKa dDGBz4siWyAJdisPfYGVx/Qv0uXs30EGUIbMhJkRVS/e447NLQ/WLeCvmDeXMICw5x/O dVKchvn/jMiuogiLteDs/uQDy6jq6M7ZFWnwP/c5/t3XBPNMbPZ8ay8hu/3vAfTphf0F dnsc+Bet3SEFSV8pGORJI33tEsK49E0GceZ5yDbo9NAUp/DJfsVZy7u9Q3N/Aefg14/B GSz0ndKdondejB5Mq0KHNa53Xq/3AE0q7F0f7w31zpi+CFjNWllo62C2Di+K71cahSBH TzNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QqgqiH8uCuKyIf9MfwsOnausNgr1gHmkvjDjGy6b2LM=; b=gkA/rBkw2A99mNrvDRlp+nNC5x1qa7GIWXY8227EwD63qqGypOoXpbQmzoqEHg11lw XBVulL3ljQmO/iE9bgi7vwUraf7TQGwys5Eyl+wtW93qER0XWchhlS8NnPV4QM/5tT8/ NhePdS7ONNfNOz/3r+B381wMWVKN3cXRisSn0rz5cyXVvq/gGZZfgE4ONqk1zZAx95xD UXtLIapyG3FB/iGFmZExSkkUyjtsygpVzEgEklKaEUTCst3QLdn+yXgFBQmk2eqecvGX Z/EN0WjEp67UYMk2ENBKCHkaweG5RhOb3Ag1l8OJv4wATzHF0oxclS30IuMVMM5nWNKq AgGw== X-Gm-Message-State: AMCzsaVxQ8odS/Ywhqo4dc/dpUNZ+SAXtMe2LZg/tXUQx9OKVAp+NWy2 aw1WGz3/8gA50bNdkNYtpsPjXC1c X-Google-Smtp-Source: ABhQp+Q2AqcyA7izhVLcT3gtplLTtbNDB9mXZJWBy0lIpQRZepcLsvE+4TMoMlsmM7EbUbf2iv4+Gw== X-Received: by 10.80.231.145 with SMTP id b17mr20595485edn.94.1508853380875; Tue, 24 Oct 2017 06:56:20 -0700 (PDT) Received: from uHalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id f39sm237378edf.83.2017.10.24.06.56.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 06:56:20 -0700 (PDT) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: axboe@fb.com Cc: mb@lightnvm.io, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [PATCH] lightnvm: pblk: remove testing leftover Date: Tue, 24 Oct 2017 15:56:13 +0200 Message-Id: <1508853373-17796-2-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508853373-17796-1-git-send-email-javier@cnexlabs.com> References: <1508853373-17796-1-git-send-email-javier@cnexlabs.com> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP fixes: 8bd400204bd5 ("lightnvm: pblk: cleanup unused and static functions") Signed-off-by: Javier González --- drivers/lightnvm/pblk.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index 6b64288de6f7..90961033a79f 100644 --- a/drivers/lightnvm/pblk.h +++ b/drivers/lightnvm/pblk.h @@ -860,11 +860,6 @@ int pblk_rl_is_limit(struct pblk_rl *rl); int pblk_sysfs_init(struct gendisk *tdisk); void pblk_sysfs_exit(struct gendisk *tdisk); -static inline void test(size_t a) -{ - a += 1; -} - static inline void *pblk_malloc(size_t size, int type, gfp_t flags) { if (type == PBLK_KMALLOC_META)