pciehp: Remove unnecessary check in pciehp_ctrl.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 24 Sep 2006 22:56:53 +0000 (00:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 18:36:10 +0000 (11:36 -0700)
commit9ef9977cabc1b2c1718ef6eb883caec8dcb80b4c
tree54ae4e1c2c42603da00ac8059b94bb6b4e8e38ee
parentdd5619cb4407e830a8921a93c949be37c81105b5
pciehp: Remove unnecessary check in pciehp_ctrl.c

this was spotted by coverity (cid #819). We dereference p_slot
earlier in the function, and i found no way it could become NULL
anywhere.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp_ctrl.c