From patchwork Mon Sep 28 13:29:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaowei Bai X-Patchwork-Id: 7277621 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CB9749F39B for ; Mon, 28 Sep 2015 13:32:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D2A520752 for ; Mon, 28 Sep 2015 13:32:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2142420747 for ; Mon, 28 Sep 2015 13:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933779AbbI1Nbo (ORCPT ); Mon, 28 Sep 2015 09:31:44 -0400 Received: from m12-12.163.com ([220.181.12.12]:32801 "EHLO m12-12.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933764AbbI1Nbl (ORCPT ); Mon, 28 Sep 2015 09:31:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=FZxiSNOpgwi3h2UOk5 +nevm569EnKt3QKVZ+PZW2CZA=; b=PjW4AEWpX5Wt7IVkRtnM9dXX6yVcdS5bZM nvfS0uO+ZQKXgHh2L434P7Sg1UBh/38cjYMysbaOwxvTlYH28J3x8/0yA8fukJo4 1cj5/bjJrloct3NqLpdzggAgzldUleJUF7woFCZiYHn6IxUqoooB2nY3vKau67gJ D04H8qdwo= Received: from localhost.localdomain (unknown [58.209.166.48]) by smtp8 (Coremail) with SMTP id DMCowEAZrVQ4QQlW4h4nBg--.1S3; Mon, 28 Sep 2015 21:31:37 +0800 (CST) From: Yaowei Bai To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/17] fs/kdev_t: remove unused huge_valid_dev function Date: Mon, 28 Sep 2015 21:29:35 +0800 Message-Id: <1443446976-4925-1-git-send-email-bywxiaobai@163.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443446807-4838-1-git-send-email-bywxiaobai@163.com> References: <1443446807-4838-1-git-send-email-bywxiaobai@163.com> X-CM-TRANSID: DMCowEAZrVQ4QQlW4h4nBg--.1S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrWryxJw43Jw4xCr4UWFykXwb_yoWxXrgEyw 1fAFW8Wr4xXr1fua1fKFyxAF13Wa4IqF42gas5tw4YvasxZan8X3srJr9rtw4Uuws7CFW5 WF45Wryxt34UGjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8Kg43UUUUU== X-Originating-IP: [58.209.166.48] X-CM-SenderInfo: xe1z5x5dretxi6rwjhhfrp/xtbBFBqDT1D+Zc+NUQAAsa Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There's no user of huge_valid_dev function anymore, so remove it. No functional change. Signed-off-by: Yaowei Bai --- include/linux/kdev_t.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h index c838abe..a546d20 100644 --- a/include/linux/kdev_t.h +++ b/include/linux/kdev_t.h @@ -54,11 +54,6 @@ static inline dev_t new_decode_dev(u32 dev) return MKDEV(major, minor); } -static inline int huge_valid_dev(dev_t dev) -{ - return 1; -} - static inline u64 huge_encode_dev(dev_t dev) { return new_encode_dev(dev);