]> err.no Git - linux-2.6/commit
PNP: skip dev->protocol NULL checks
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 09:15:57 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:42 +0000 (08:58 -0700)
commit0bc11fd446d2ca29459c3c8e04a6d36db9bbbea4
tree3464f1e029a877be3f998da7c5542617d77b324a
parent62b0559aad5cba060568cb962e4bbb111ec73a14
PNP: skip dev->protocol NULL checks

Every PNP device should have a valid protocol pointer.  If it doesn't,
something's wrong and we should oops so we can find and fix the problem.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Adrian Bunk <bunk@kernel.org>
Cc: Rene Herman <rene.herman@keyaccess.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/driver.c