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

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/bae25b04-2ce2-7137-a71c-50d7b4f06431@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