diff options
| author | 2019-03-28 17:16:09 +0300 | |
|---|---|---|
| committer | 2019-04-03 22:49:31 +0200 | |
| commit | d469127528ec48437a010620c22f2443053003c1 (patch) | |
| tree | 340d79924361fffd79a571e448a62c12d5940917 /include/linux/debugobjects.h | |
| parent | i2c: iproc: add NIC I2C support (diff) | |
i2c: nomadik: remove an unnecessary NULL check in nmk_i2c_remove()
"res" can't be NULL because it's a pointer to somewhere in the middle of
the "adev" struct. Also probe() succeeded so there is no need to check
here.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
