x86/apb/timer: Remove unnecessary "if"
authorCong Ding <dinggnu@gmail.com>
Mon, 14 Jan 2013 21:39:18 +0000 (22:39 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Jan 2013 12:03:26 +0000 (13:03 +0100)
commitb9975dabe3f0a6e4d1af52c47f66b5558df207a3
treeb52446b890c904e00faba1bc7fb8042776553211
parentd29a4a5fe8d687cee3ea372be00c61a09860b656
x86/apb/timer: Remove unnecessary "if"

adev has no chance to be NULL, so we don't need to check it. It
is also dereferenced just before the check .

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Link: http://lkml.kernel.org/r/1358199561-15518-1-git-send-email-dinggnu@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apb_timer.c