diff options
author | Ezequiel Garcia | 2013-07-29 23:46:03 -0300 |
---|---|---|
committer | Tejun Heo | 2013-07-30 09:03:01 -0400 |
commit | e0067f0b71a2b5d1c5d8df556830db253aa1b264 (patch) | |
tree | bb6b3b18aa10016e43183a6f5338adea2e47fb7e /lib/genalloc.c | |
parent | 61b8c345aa8c50c6a99a90560a107d02124f0293 (diff) |
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>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions