diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-09-30 23:28:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 00:39:24 -0700 |
commit | 397d6140e93156ecb9cafcd9be0db10ff3c12ab3 (patch) | |
tree | d24bdacaf4fd31cbddc684e4b3d9d216911b4c2d /drivers/macintosh/smu.c | |
parent | 3a2711116073db258224afd2cc0f478bdf305575 (diff) | |
download | linux-3.10-397d6140e93156ecb9cafcd9be0db10ff3c12ab3.tar.gz linux-3.10-397d6140e93156ecb9cafcd9be0db10ff3c12ab3.tar.bz2 linux-3.10-397d6140e93156ecb9cafcd9be0db10ff3c12ab3.zip |
[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 <snakebyte@gmx.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Raphael Assenat <raph@raphnet.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/macintosh/smu.c')
0 files changed, 0 insertions, 0 deletions