diff options
author | Coly Li <colyli@suse.de> | 2020-04-09 16:17:23 +0200 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-05-13 20:22:31 +0200 |
commit | 3024ba2d6c5573b4797e62006d98f17f47f7d103 (patch) | |
tree | d0a9b3fa1c99b3fd7b42a9d7befa4d36b42eb67b /drivers/hwmon/smsc47b397.c | |
parent | raid5: update code comment of scribble_alloc() (diff) | |
download | linux-3024ba2d6c5573b4797e62006d98f17f47f7d103.tar.xz linux-3024ba2d6c5573b4797e62006d98f17f47f7d103.zip |
md: remove redundant memalloc scope API usage
In mddev_create_serial_pool(), memalloc scope APIs memalloc_noio_save()
and memalloc_noio_restore() are used when allocating memory by calling
mempool_create_kmalloc_pool(). After adding the memalloc scope APIs in
raid array suspend context, it is unncessary to explicitly call them
around mempool_create_kmalloc_pool() any longer.
This patch removes the redundant memalloc scope APIs in
mddev_create_serial_pool().
Signed-off-by: Coly Li <colyli@suse.de>
Cc: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/hwmon/smsc47b397.c')
0 files changed, 0 insertions, 0 deletions