kernel-aes67/drivers/pnp
Jesper Juhl b2111217df isapnp: remove pointless check of 'type' against 0 in isapnp_read_tag()
In drivers/pnp/isapnp/core.c::isapnp_read_tag() there is a test of 'type'
being == 0 a bit down in the function.  That test doesn't make any sense.
If 'type' could indeed be NULL, then the test happens way too late as we'd
already have tried to dereference the pointer earlier and looking at the
callers it also turns out that there is no way type can ever actually be
NULL.

So the test is completely pointless and should just be removed.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:52 -07:00
..
isapnp isapnp: remove pointless check of 'type' against 0 in isapnp_read_tag() 2007-07-16 09:05:52 -07:00
pnpacpi PNP: notice whether we have PNP devices (PNPBIOS or PNPACPI) 2007-05-08 11:15:23 -07:00
pnpbios Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
base.h
card.c PNP: stop using the subsystem rwsem 2007-04-27 10:57:30 -07:00
core.c PNP: notice whether we have PNP devices (PNPBIOS or PNPACPI) 2007-05-08 11:15:23 -07:00
driver.c
interface.c
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile
manager.c [PATCH] reduce pnp syslog spam 2007-03-16 19:25:02 -07:00
quirks.c PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues 2007-07-06 10:23:43 -07:00
resource.c
support.c
system.c [PATCH] Correctly report PnP 64bit resources 2007-04-02 10:06:08 -07:00