1
0
Files
linux/drivers/ata
Bartlomiej Zolnierkiewicz c9abde12d6 libata: remove superfluous NULL pointer checks
host->ports[] always contain pointers to valid port structures since
a "dummy port" structure is used in case if there is no physical port.

This patch takes care of two entries from Dan's list:

drivers/ata/sata_sil.c +535 sil_interrupt(13) warning: variable derefenced before check 'ap'
drivers/ata/sata_mv.c +2517 mv_unexpected_intr(6) warning: variable derefenced before check 'ap'

and of another needless NULL pointer check in pata_octeon_cf.c.

Reported-by: Dan Carpenter <error27@gmail.com>
Cc: corbet@lwn.net
Cc: eteo@redhat.com
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-07-28 21:06:13 -04:00
..
2009-06-05 17:10:54 -04:00
2009-03-24 22:45:05 -04:00
2009-06-05 14:40:52 -04:00
2009-03-28 20:29:51 +00:00
2009-06-08 09:12:28 -07:00
2009-07-28 21:05:18 -04:00
2009-06-23 01:54:27 -04:00
2008-01-23 05:24:15 -05:00
2007-07-02 10:17:42 -04:00