From: Tomas Winkler Date: Wed, 4 Sep 2013 12:35:52 +0000 (+0300) Subject: hpet: remove useless check if fixmem32 is NULL X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3e0d0c1ca926fd6ab557fcd5efb171148f43d6;p=pandora-kernel.git hpet: remove useless check if fixmem32 is NULL fixmem32 is assigned to address of res->data member so the address is always valid Actually since we are not checking for res != NULL static analyzing is complaining about referencing the pointer and consequent check for null. The code snippet looks confusing also for human eyes. Cc: Randy Dunlap Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed