Hello,
Just asking ... in:
> +static void *ata_pata_find_handle(struct device *dev, int port)
...
> + chan_handle = acpi_get_child(handle, port);
> + if (chan_handle == NULL)
> + return NULL;
> + return chan_handle;
> +}
why not simply:
return acpi_get_child(hadnle, port);
?
Regards,
Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]