diff options
author | pzread <netfirewall@gmail.com> | 2013-05-18 22:37:38 +0800 |
---|---|---|
committer | pzread <netfirewall@gmail.com> | 2013-05-18 22:37:38 +0800 |
commit | 1b1f7448502c4868353e54326e1b8490a3337d57 (patch) | |
tree | 8565ac51fd5d73fee77caac7cfe2a40c6fc92005 /toj | |
parent | b3854acc842b95b9ea9fcdafb47a6518d63eb111 (diff) | |
download | taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.tar taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.tar.gz taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.tar.bz2 taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.tar.lz taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.tar.xz taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.tar.zst taiwan-online-judge-1b1f7448502c4868353e54326e1b8490a3337d57.zip |
Fix module bug
Diffstat (limited to 'toj')
-rwxr-xr-x | toj/center/src/judgk_hyperio.c | 1 | ||||
-rwxr-xr-x | toj/center/src/judgk_proc.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/toj/center/src/judgk_hyperio.c b/toj/center/src/judgk_hyperio.c index 2702f55..b37feb7 100755 --- a/toj/center/src/judgk_hyperio.c +++ b/toj/center/src/judgk_hyperio.c @@ -248,7 +248,6 @@ static inline struct hyperio_info* hyperio_filp_lookup(struct file *filp){ if((unsigned long)info->filp == (unsigned long)filp){ break; } - info = NULL; } rcu_read_unlock(); diff --git a/toj/center/src/judgk_proc.c b/toj/center/src/judgk_proc.c index cc51ced..f3ed130 100755 --- a/toj/center/src/judgk_proc.c +++ b/toj/center/src/judgk_proc.c @@ -158,7 +158,6 @@ struct judgk_proc_info* judgk_proc_task_lookup(struct task_struct *task){ if((unsigned long)info->task == (unsigned long)task){ break; } - info = NULL; } rcu_read_unlock(); |