]> git.baikalelectronics.ru Git - kernel.git/commit
mm/zswap.c: delete an error message for a failed memory allocation in zswap_pool_create()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 6 Jul 2017 22:40:34 +0000 (15:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Jul 2017 23:24:35 +0000 (16:24 -0700)
commit2a06e08951a7d83f2e07fafdb545cadb70e58594
tree79bc43197f7a82737c920cc497795b7030070dfa
parent8d501f42518ae8aaea38b4d003b11d4cee4366ae
mm/zswap.c: delete an error message for a failed memory allocation in zswap_pool_create()

Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.

Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Link: http://lkml.kernel.org/r/2345aabc-ae98-1d31-afba-40a02c5baf3d@users.sourceforge.net
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Seth Jennings <sjenning@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/zswap.c