Messages in this thread Patch in this message | | | Date | Tue, 7 Oct 2003 02:00:18 -0700 | From | Roland McGrath <> | 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/
| |