This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / autofs4 / waitq.c
index b2f2e88..caae47f 100644 (file)
@@ -275,7 +275,7 @@ int autofs4_wait_release(struct autofs_sb_info *sbi, autofs_wqt_t wait_queue_tok
        struct autofs_wait_queue *wq, **wql;
 
        down(&sbi->wq_sem);
-       for ( wql = &sbi->queues ; (wq = *wql) != 0 ; wql = &wq->next ) {
+       for ( wql = &sbi->queues ; (wq = *wql) ; wql = &wq->next ) {
                if ( wq->wait_queue_token == wait_queue_token )
                        break;
        }