diff options
author | Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> | 2009-06-05 01:44:58 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-06-08 19:30:21 -0400 |
commit | 5bf1692f65c12a8aa359dc883468284ffc3c4587 (patch) | |
tree | bab96097b51791985d6361b6bdfaf0280b0fc995 /security/tomoyo/common.c | |
parent | 0b4ec6e4e01d98e55ae325a41304cccd87fa4c0f (diff) |
TOMOYO: Remove unused field.
TOMOYO 2.2.0 is not using total_len field of "struct tomoyo_path_info".
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/common.c')
-rw-r--r-- | security/tomoyo/common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c index 6d2561276a7b..a44f655b3913 100644 --- a/security/tomoyo/common.c +++ b/security/tomoyo/common.c | |||
@@ -428,7 +428,6 @@ void tomoyo_fill_path_info(struct tomoyo_path_info *ptr) | |||
428 | const char *name = ptr->name; | 428 | const char *name = ptr->name; |
429 | const int len = strlen(name); | 429 | const int len = strlen(name); |
430 | 430 | ||
431 | ptr->total_len = len; | ||
432 | ptr->const_len = tomoyo_const_part_length(name); | 431 | ptr->const_len = tomoyo_const_part_length(name); |
433 | ptr->is_dir = len && (name[len - 1] == '/'); | 432 | ptr->is_dir = len && (name[len - 1] == '/'); |
434 | ptr->is_patterned = (ptr->const_len < len); | 433 | ptr->is_patterned = (ptr->const_len < len); |