platform/x86: intel_ips: Remove never happen condition

At ->remove() stage we know that device had been instantiated properly,
so, it can't be an invalid pointer to the driver data.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Andy Shevchenko 2018-12-03 20:17:40 +02:00
parent 0b8a6aeab9
commit 1d5caaa853
1 changed files with 0 additions and 3 deletions

View File

@ -1627,9 +1627,6 @@ static void ips_remove(struct pci_dev *dev)
struct ips_driver *ips = pci_get_drvdata(dev);
u64 turbo_override;
if (!ips)
return;
ips_debugfs_cleanup(ips);
/* Release i915 driver */