OSDN Git Service

platform/x86: intel_cht_int33fe: Remove duplicate NULL check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Nov 2018 11:45:21 +0000 (13:45 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Dec 2018 19:40:01 +0000 (21:40 +0200)
commit6734489667e240b14170a70dc7e72d333e93d5ad
tree62854a80843c5a42f8f5f2b6d9f3494c75267b63
parent4ecd94b8e13b014a28be48c94f751fb62f7c749e
platform/x86: intel_cht_int33fe: 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>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_cht_int33fe.c