From: Chuck Lever Date: Wed, 21 May 2008 21:09:26 +0000 (-0400) Subject: SUNRPC: Don't display the rpc_show_tasks header if there are no tasks X-Git-Tag: v2.6.27-rc1~1052^2~1^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a23ee94e3a06819f5a39d64f2e1f3131bab12d;p=pandora-kernel.git SUNRPC: Don't display the rpc_show_tasks header if there are no tasks Clean up: don't display the rpc_show_tasks column header unless there is at least one task to display. As far as I can tell, it is safe to let the list_for_each_entry macro decide that each list is empty. scripts/checkpatch.pl also wants a KERN_FOO at the start of any newly added printk() calls, so this and subsequent patches will also add KERN_INFO. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed