From: Jesper Juhl Date: Sat, 25 Jun 2005 21:58:49 +0000 (-0700) Subject: [PATCH] remove redundant NULL checks before kfree() in sound/ and avoid casting point... X-Git-Tag: v2.6.13-rc1~68^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09417379be9b126e10ae7dcd7afc20b666146266;p=pandora-kernel.git [PATCH] remove redundant NULL checks before kfree() in sound/ and avoid casting pointers about to be kfree()'ed Checking a pointer for NULL before calling kfree() on it is redundant, kfree() deals with NULL pointers just fine. This patch removes such checks from sound/ This patch also makes another, but closely related, change. It avoids casting pointers about to be kfree()'ed. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed