mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Minor style cleanup
Resolve an assortment of style inconsistencies including use of white space, typos, capitalization, and line wrapping. There is no functional change. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #9030
This commit is contained in:
@@ -311,16 +311,21 @@ aes_impl_init(void *arg)
|
||||
}
|
||||
aes_supp_impl_cnt = c;
|
||||
|
||||
/* set fastest implementation. assume hardware accelerated is fastest */
|
||||
/*
|
||||
* Set the fastest implementation given the assumption that the
|
||||
* hardware accelerated version is the fastest.
|
||||
*/
|
||||
#if defined(__x86_64)
|
||||
#if defined(HAVE_AES)
|
||||
if (aes_aesni_impl.is_supported())
|
||||
if (aes_aesni_impl.is_supported()) {
|
||||
memcpy(&aes_fastest_impl, &aes_aesni_impl,
|
||||
sizeof (aes_fastest_impl));
|
||||
else
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
memcpy(&aes_fastest_impl, &aes_x86_64_impl,
|
||||
sizeof (aes_fastest_impl));
|
||||
}
|
||||
#else
|
||||
memcpy(&aes_fastest_impl, &aes_generic_impl,
|
||||
sizeof (aes_fastest_impl));
|
||||
|
||||
Reference in New Issue
Block a user