xfs-masters
[Top] [All Lists]

[xfs-masters] (Try #3) [Patch 7/8] FS: Remove dead code

To: Sam Ravnborg <sam@xxxxxxxxxxxx>
Subject: [xfs-masters] (Try #3) [Patch 7/8] FS: Remove dead code
From: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Date: Wed, 2 Jan 2008 13:55:33 +0800
Cc: Eric Sandeen <sandeen@xxxxxxxxxxx>, xfs-masters@xxxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, linux-kbuild@xxxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxx>, viro@xxxxxxxxxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=4jlBpjpdmlbl7/OJBaVQvQG2vEoFkMvKhYjVANN1G58=; b=XEqy1fM7WPvmPESW09o4xwhEZ+fpnP18m/ET2m36QiQ22/1BnJucE5lxsDbgtwZuBvkLRmAIDIwpFie4foOa9qarW0MJ7shtLa7f9ew3s6awt2j4fpTOVr585+/6D8Sg5yYHuMCVgqAe53Z/Vy5TNdfswrpJXrmsIQ/Pne0XD6I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=kUndLnrex5zF4wpnHS4t2SBEvR3xux78jhcfi5vmXOqm2HAylqBFhKU/mYG//DdOnKoM+TngaU2bCfw/m2fCS6pxFQGlWoL5SIjk0dngynhFX5Npo2uKfdW9scpe2So+88nGeXoW2sB50ZzCWHxql2cuCJgjH1RaBF29MRUNI7w=
In-reply-to: <20080101173729.GA31575@xxxxxxxxxxxxxxxxxxx>
References: <20080101071311.GA2496@hacking> <20080101074105.GH2496@hacking> <477A7809.5000106@xxxxxxxxxxx> <20080101173729.GA31575@xxxxxxxxxxxxxxxxxxx>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.14 (2007-02-12)
On Tue, Jan 01, 2008 at 06:37:29PM +0100, Sam Ravnborg wrote:
>On Tue, Jan 01, 2008 at 11:27:37AM -0600, Eric Sandeen wrote:
>> WANG Cong wrote:
>> > TOPDIR is obsolete, use objtree instead.
>> > This patch removes TOPDIR from all fs/ Makefiles.
>> 
>> > diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
>> > index 49e3e7e..d1d3d49 100644
>> > --- a/fs/xfs/Makefile
>> > +++ b/fs/xfs/Makefile
>> > @@ -1 +1 @@
>> > -include $(TOPDIR)/fs/xfs/Makefile-linux-$(VERSION).$(PATCHLEVEL)
>> > +include $(objtree)/fs/xfs/Makefile-linux-$(VERSION).$(PATCHLEVEL)
>> 
>> FWIW $(TOPDIR) is already banished from the latest xfs build code:
>> 
>Good - I will ignore the xfs bits.

Thanks. I will drop the xfs part.

------->

Remove dead code in smbfs makefile.

Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Tim Shimmin <xfs-masters@xxxxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>

---

diff --git a/fs/smbfs/Makefile b/fs/smbfs/Makefile
index 6673ee8..4faf8c4 100644
--- a/fs/smbfs/Makefile
+++ b/fs/smbfs/Makefile
@@ -16,23 +16,3 @@ EXTRA_CFLAGS += -DSMBFS_PARANOIA
 #EXTRA_CFLAGS += -DDEBUG_SMB_TIMESTAMP
 #EXTRA_CFLAGS += -Werror
 
-#
-# Maintainer rules
-#
-
-# getopt.c not included. It is intentionally separate
-SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c smbiod.c request.c \
-       symlink.c
-
-proto:
-       -rm -f proto.h
-       @echo >  proto2.h "/*"
-       @echo >> proto2.h " *  Autogenerated with cproto on: " `date`
-       @echo >> proto2.h " */"
-       @echo >> proto2.h ""
-       @echo >> proto2.h "struct smb_request;"
-       @echo >> proto2.h "struct sock;"
-       @echo >> proto2.h "struct statfs;"
-       @echo >> proto2.h ""
-       cproto -E "gcc -E" -e -v -I $(TOPDIR)/include -DMAKING_PROTO 
-D__KERNEL__ $(SRC) >> proto2.h
-       mv proto2.h proto.h


<Prev in Thread] Current Thread [Next in Thread>