From: Maninder Singh Date: Wed, 8 Jul 2015 06:56:47 +0000 (+0530) Subject: rtc: bq32k: remove redundant check X-Git-Tag: omap-for-v4.3/fixes-rc1~63^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=617f6f7ef5bfe8c0ac580243c3da9a836c6e39bf;p=pandora-kernel.git rtc: bq32k: remove redundant check removing below static analysis error: (error) Possible null pointer dereference: client if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) ^^^^^^^ Error comes because client is dereferenced before NULL check. So probably NULL this check is not required. Signed-off-by: Maninder Singh Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed