crypto: remove redundant type flags from tfm allocation
Eric Biggers authored

Some crypto API users allocating a tfm with crypto_alloc_$FOO() are also
specifying the type flags for $FOO, e.g. crypto_alloc_shash() with
CRYPTO_ALG_TYPE_SHASH.  But, that's redundant since the crypto API will
override any specified type flag/mask with the correct ones.

So, remove the unneeded flags.

This patch shouldn't change any actual behavior.
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
85d7311f
Name Last commit Last update
Documentation crypto: remove redundant type flags from tfm allocation
LICENSES LICENSES: Add Linux-OpenIB license text
arch crypto: aead - remove useless setting of type flags
block Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
certs docs: Fix some broken references
crypto crypto: aead - remove useless setting of type flags
drivers crypto: remove redundant type flags from tfm allocation
firmware kbuild: remove all dummy assignments to obj-
fs Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
include crypto: dh - add public key verification test
init Merge tag 'kbuild-v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
ipc ipc: use new return type vm_fault_t
kernel Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
lib docs: Fix some broken references
mm mm: fix oom_kill event handling
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
samples Merge tag 'vfio-v4.18-rc1' of git://github.com/awilliam/linux-vfio
scripts scripts/documentation-file-ref-check: check tools/*/Documentation
security crypto: remove redundant type flags from tfm allocation
sound docs: Fix some broken references
tools Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
usr kbuild: rename built-in.o to built-in.a
virt Merge tag 'overflow-v4.18-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
.clang-format clang-format: add configuration file
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.