From: Eric Sesterhenn Date: Sun, 1 Oct 2006 06:28:09 +0000 (-0700) Subject: [PATCH] Remove unnecessary check in drivers/rtc/rtc-v3020.c X-Git-Tag: v2.6.19-rc1~575 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397d6140e93156ecb9cafcd9be0db10ff3c12ab3;p=pandora-kernel.git [PATCH] Remove unnecessary check in drivers/rtc/rtc-v3020.c Looks like the probe function always gets a valid pdev, and checking it after dereferencing it is pretty useless. This patch removes the check (cid #1365) Signed-off-by: Eric Sesterhenn Cc: Alessandro Zummo Cc: Raphael Assenat Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed