mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_pr...
authorMarkus Elfring <[email protected]>
Thu, 6 Jul 2017 22:40:40 +0000 (15:40 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:35 +0000 (16:24 -0700)
commit2b2695f5fdf185092a72c81ca2c09ed1b9b37416
tree71eb8eec757526ffe697e856e957ea59ff42de0e
parent9cd1f701ce47599ddfb589afeb88b5513b6915bc
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/[email protected]
Signed-off-by: Markus Elfring <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Seth Jennings <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/zswap.c