projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libata: remove superfluous NULL pointer checks
[deliverable/linux.git]
/
drivers
/
ata
/
sata_mv.c
diff --git
a/drivers/ata/sata_mv.c
b/drivers/ata/sata_mv.c
index 23714aefb8256d742c56858b9a57e9614ecfb8c1..c19417e02208f3c500c269fcdf5b8846ff19464b 100644
(file)
--- a/
drivers/ata/sata_mv.c
+++ b/
drivers/ata/sata_mv.c
@@
-2514,7
+2514,7
@@
static void mv_unexpected_intr(struct ata_port *ap, int edma_was_enabled)
char *when = "idle";
ata_ehi_clear_desc(ehi);
- if (
!ap || (ap->flags & ATA_FLAG_DISABLED)
) {
+ if (
ap->flags & ATA_FLAG_DISABLED
) {
when = "disabled";
} else if (edma_was_enabled) {
when = "EDMA enabled";
This page took
0.028652 seconds
and
5
git commands to generate.