]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] remove unused `locks' field from task_struct
authorRoland McGrath <roland@redhat.com>
Tue, 7 Oct 2003 00:53:17 +0000 (17:53 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 7 Oct 2003 00:53:17 +0000 (17:53 -0700)
This field is used nowhere; I had it commented out in my "make
allyesconfig" build and nothing complained.

include/linux/sched.h

index a504b6a92ccffb73f12c93dec4a2db7274ff98d4..065de4241e6c12ecfbfdaa61ada80e3c25ef1ec7 100644 (file)
@@ -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 */