lkml.org 
[lkml]   [2003]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] remove unused `locks' field from task_struct
SSIA.  This field is used nowhere; I had it commented out in my
"make allyesconfig" build and nothing complained.


Thanks,
Roland


Index: linux-2.6/include/linux/sched.h
===================================================================
RCS file: /home/cvs/linux-2.5/include/linux/sched.h,v
retrieving revision 1.188
diff -p -b -u -r1.188 sched.h
--- linux-2.6/include/linux/sched.h 5 Oct 2003 18:04:11 -0000 1.188
+++ linux-2.6/include/linux/sched.h 7 Oct 2003 07:12:56 -0000
@@ -419,7 +419,6 @@ struct task_struct {
char comm[16];
/* file system info */
int link_count, total_link_count;
- unsigned int locks; /* How many file locks are being held */
/* ipc stuff */
struct sysv_sem sysvsem;
/* CPU-specific state of this task */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.034 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site