]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
i2c: thunderx: Remove duplicate NULL check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 Oct 2017 14:21:37 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 1 Nov 2017 23:01:31 +0000 (00:01 +0100)
commit620c50dc0b301f09b85ce27022d8f7420bf14e7f
tree451106fca4d9f2fbd1b9a597ba3f024f7261af3e
parentbfd9621259970904b25ad198030275328f09ed46
i2c: thunderx: Remove duplicate NULL check

Since i2c_unregister_device() became NULL-aware we may remove duplicate
NULL check.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-thunderx-pcidrv.c