mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
am: 4ee3508f7a
Change-Id: I284c8381fe4eafd18062463a0e204f335dc3ccca
This commit is contained in:
@@ -82,7 +82,7 @@ static void pnv_php_free_slot(struct kref *kref)
|
||||
static inline void pnv_php_put_slot(struct pnv_php_slot *php_slot)
|
||||
{
|
||||
|
||||
if (WARN_ON(!php_slot))
|
||||
if (!php_slot)
|
||||
return;
|
||||
|
||||
kref_put(&php_slot->kref, pnv_php_free_slot);
|
||||
|
||||
Reference in New Issue
Block a user