kernel_optimize_test/drivers
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
..
acorn
acpi
amba
ata
atm
auxdisplay
base dma: make dma pool to use kmalloc_node 2007-07-16 09:05:51 -07:00
block nbd.c: sock_xmit: cleanup signal related code 2007-07-16 09:05:50 -07:00
bluetooth
cdrom
char serial: remove termios checks from various old char serial drivers 2007-07-16 09:05:52 -07:00
clocksource
connector
cpufreq
crypto
dio
dma dma-mapping: prevent dma dependent code from linking on !HAS_DMA archs 2007-07-16 09:05:45 -07:00
edac
eisa
fc4
firewire
firmware
hid
hwmon
i2c
ide
ieee1394
infiniband
input
isdn
kvm
leds
macintosh adb_probe_task: remove unneeded flush_signals() call 2007-07-16 09:05:50 -07:00
mca
md
media
message
mfd
misc sony-laptop: use NULL for pointer 2007-07-16 09:05:46 -07:00
mmc
mtd
net
nubus
oprofile
parisc
parport parport_pc: it887x fix 2007-07-16 09:05:50 -07:00
pci Remove capability.h from mm.h 2007-07-16 09:05:45 -07:00
pcmcia
pnp isapnp: remove pointless check of 'type' against 0 in isapnp_read_tag() 2007-07-16 09:05:52 -07:00
power
ps3
rapidio
rtc
s390
sbus
scsi
serial 68360serial: remove broken optimisation 2007-07-16 09:05:51 -07:00
sh
sn
spi
tc
telephony
usb
video
w1
zorro
Kconfig
Makefile