From: Russell King Date: Sun, 22 Oct 2006 14:57:18 +0000 (+0100) Subject: [PATCH] Remove __must_check for device_for_each_child() X-Git-Tag: v2.6.19-rc3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04fed361dadb7921507a470947ac23d2f26352cf;p=pandora-kernel.git [PATCH] Remove __must_check for device_for_each_child() Eliminate more __must_check madness. The return code from device_for_each_child() depends on the values which the helper function returns. If the helper function always returns zero, it's utterly pointless to check the return code from device_for_each_child(). The only code which knows if the return value should be checked is the caller itself, so forcing the return code to always be checked is silly. Hence, remove the __must_check annotation. Signed-off-by: Russell King Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed