sata_mv: Remove unneeded CONFIG_HAVE_CLK ifdefs
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 30 Jul 2013 02:46:03 +0000 (23:46 -0300)
committerTejun Heo <tj@kernel.org>
Tue, 30 Jul 2013 13:03:01 +0000 (09:03 -0400)
commite0067f0b71a2b5d1c5d8df556830db253aa1b264
treebb6b3b18aa10016e43183a6f5338adea2e47fb7e
parent61b8c345aa8c50c6a99a90560a107d02124f0293
sata_mv: Remove unneeded CONFIG_HAVE_CLK ifdefs

If CONFIG_HAVE_CLK is not selected, then all the clk API turn out
into no-ops. In other words, there's no need to have the ifdefs.

The only side-effect of this patch is the extra tiny kmalloc,
but that's not enough reason to have such ugly ifdefs all around
the code.

tj: Slightly massaged comment as per Andrew Lunn.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_mv.c
This page took 0.025077 seconds and 5 git commands to generate.