From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262137AbUJ1WGp (ORCPT ); Thu, 28 Oct 2004 18:06:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261670AbUJ1WGp (ORCPT ); Thu, 28 Oct 2004 18:06:45 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:21006 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S262893AbUJ1WFo (ORCPT ); Thu, 28 Oct 2004 18:05:44 -0400 Date: Fri, 29 Oct 2004 00:05:11 +0200 From: Adrian Bunk To: rmk@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org Subject: [2.6 patch] fs/adfs: remove an unused function Message-ID: <20041028220511.GF3207@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The patch below removes an unsed fubnction from fs/adfs/dir_f.c diffstat output: fs/adfs/dir_f.c | 17 ----------------- 1 files changed, 17 deletions(-) Signed-off-by: Adrian Bunk - --- linux-2.6.10-rc1-mm1-full/fs/adfs/dir_f.c.old 2004-10-28 22:40:09.000000000 +0200 +++ linux-2.6.10-rc1-mm1-full/fs/adfs/dir_f.c 2004-10-28 22:40:20.000000000 +0200 @@ -65,23 +65,6 @@ return buf - old_buf; } - -static inline void adfs_writename(char *to, char *from, int maxlen) - -{ - - int i; - - - - for (i = 0; i < maxlen; i++) { - - if (from[i] == '\0') - - break; - - if (from[i] == '.') - - to[i] = '/'; - - else - - to[i] = from[i]; - - } - - - - for (; i < maxlen; i++) - - to[i] = '\0'; - -} - - #define ror13(v) ((v >> 13) | (v << 19)) #define dir_u8(idx) \ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFBgW0XmfzqmE8StAARAravAJ9B83nOm8MpMkQZF0GXS+/kXhRBggCgq/mj df8x0Gf5GHsyvtBxWwWGY9w= =BvbY -----END PGP SIGNATURE-----