x86, hash: Simplify switch, add __init annotation
authorJan Beulich <JBeulich@suse.com>
Thu, 27 Feb 2014 08:47:58 +0000 (08:47 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 19 Mar 2014 23:51:04 +0000 (16:51 -0700)
commit7a5917e9787dd73284f04e35c3cfdb39a67bf0d5
treeca484768dfb19e508c40b4f1b11ad79cdcdb7845
parentc5cdfdf90901c51363441365997eecd58efd9374
x86, hash: Simplify switch, add __init annotation

Minor cleanups:

- simplify switch statement
- add __init annotation to setup_arch_fast_hash()

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/530F09CE020000780011FBEF@nat28.tlf.novell.com
Cc: Francesco Fusco <ffusco@redhat.com>
Cc: Thomas Graf <tgraf@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/lib/hash.c