From: Richard Kennedy Date: Tue, 10 Aug 2010 00:18:42 +0000 (-0700) Subject: buffer_head: remove redundant test from wait_on_buffer X-Git-Tag: v2.6.36-rc1~468 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9877cc2937889e5669114f28612b494384152a4;p=pandora-kernel.git buffer_head: remove redundant test from wait_on_buffer The comment suggests that when b_count equals zero it is calling __wait_no_buffer to trigger some debug, but as there is no debug in __wait_on_buffer the whole thing is redundant. AFAICT from the git log this has been the case for at least 5 years, so it seems safe just to remove this. Signed-off-by: Richard Kennedy Cc: Nick Piggin Cc: Jens Axboe Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed