diff options
| author | 2020-05-04 19:21:54 -0700 | |
|---|---|---|
| committer | 2020-05-12 09:12:31 -0700 | |
| commit | e7c1c00cf3fafde7496e31cacd718a51d0e7d70c (patch) | |
| tree | 5d3b1613fef5e423f95dd95d094ef266e39c3764 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.7-rc1 (diff) | |
| download | linux-dev-e7c1c00cf3fafde7496e31cacd718a51d0e7d70c.tar.xz linux-dev-e7c1c00cf3fafde7496e31cacd718a51d0e7d70c.zip | |
pstore: Drop useless try_module_get() for backend
There is no reason to be doing a module get/put in pstore_register(),
since the module calling pstore_register() cannot be unloaded since it
hasn't finished its initialization. Remove it so there is no confusion
about how registration ordering works.
Link: https://lore.kernel.org/lkml/20200506152114.50375-2-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
