diff options
author | Maninder Singh <maninder1.s@samsung.com> | 2015-07-08 08:56:47 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 13:19:05 +0200 |
commit | 617f6f7ef5bfe8c0ac580243c3da9a836c6e39bf (patch) | |
tree | b259d9ffbc34c34a295ca3f0713907b2da08ee8f /drivers/rtc/rtc-88pm80x.c | |
parent | rtc: ds1685: Use module_platform_driver (diff) | |
download | linux-617f6f7ef5bfe8c0ac580243c3da9a836c6e39bf.tar.xz linux-617f6f7ef5bfe8c0ac580243c3da9a836c6e39bf.zip |
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 <maninder1.s@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-88pm80x.c')
0 files changed, 0 insertions, 0 deletions