From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: hfsplus: remove the unused hfsplus_kmap/hfsplus_kunmap helpers Date: Tue, 12 Oct 2010 15:58:44 +0200 Message-ID: <20101012135844.GI26867@lst.de> References: <20101012135634.GA26867@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: linux-fsdevel@vger.kernel.org Return-path: Received: from verein.lst.de ([213.95.11.210]:51604 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932319Ab0JLN6q (ORCPT ); Tue, 12 Oct 2010 09:58:46 -0400 Received: from verein.lst.de (localhost [127.0.0.1]) by verein.lst.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id o9CDwi88027119 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 12 Oct 2010 15:58:45 +0200 Received: (from hch@localhost) by verein.lst.de (8.12.3/8.12.3/Debian-7.2) id o9CDwiVj027118 for linux-fsdevel@vger.kernel.org; Tue, 12 Oct 2010 15:58:44 +0200 Content-Disposition: inline In-Reply-To: <20101012135634.GA26867@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Signed-off-by: Christoph Hellwig Index: linux-2.6/fs/hfsplus/hfsplus_fs.h =================================================================== --- linux-2.6.orig/fs/hfsplus/hfsplus_fs.h 2010-10-11 20:02:40.584331783 +0200 +++ linux-2.6/fs/hfsplus/hfsplus_fs.h 2010-10-11 20:07:05.835253908 +0200 @@ -398,14 +398,6 @@ static inline struct hfsplus_inode_info return list_entry(inode, struct hfsplus_inode_info, vfs_inode); } -#if 1 -#define hfsplus_kmap(p) ({ struct page *__p = (p); kmap(__p); }) -#define hfsplus_kunmap(p) ({ struct page *__p = (p); kunmap(__p); __p; }) -#else -#define hfsplus_kmap(p) kmap(p) -#define hfsplus_kunmap(p) kunmap(p) -#endif - #define sb_bread512(sb, sec, data) ({ \ struct buffer_head *__bh; \ sector_t __block; \