[libata] init probe_ent->private_data in a common location
authorJeff Garzik <jeff@garzik.org>
Thu, 28 Sep 2006 07:48:18 +0000 (03:48 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 28 Sep 2006 07:48:18 +0000 (03:48 -0400)
commitd639ca94188fedbd8cfde1ab4ed9e9878ab2f01e
tree07795198224b43bf96a1471b4add4237f023dd09
parentc791c30670ea61f19eec390124128bf278e854fe
[libata] init probe_ent->private_data in a common location

Don't write the same code twice, in two different functions, when they
both call the same initialization function, with the same private_data
pointer info.

Also, note a bug found with a FIXME.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-sff.c