linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] btrfs: tests: remove unnecessary oom message
@ 2021-06-17  8:30 Zhen Lei
  2021-06-17 20:35 ` David Sterba
  0 siblings, 1 reply; 6+ messages in thread
From: Zhen Lei @ 2021-06-17  8:30 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik, David Sterba, linux-btrfs; +Cc: Zhen Lei

Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message

Remove it can help us save a bit of memory.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 fs/btrfs/tests/extent-io-tests.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/tests/extent-io-tests.c b/fs/btrfs/tests/extent-io-tests.c
index 99b791b931d7..7655672752ad 100644
--- a/fs/btrfs/tests/extent-io-tests.c
+++ b/fs/btrfs/tests/extent-io-tests.c
@@ -393,7 +393,6 @@ static int test_eb_bitmaps(u32 sectorsize, u32 nodesize)
 
 	bitmap = kmalloc(nodesize, GFP_KERNEL);
 	if (!bitmap) {
-		test_err("couldn't allocate test bitmap");
 		ret = -ENOMEM;
 		goto out;
 	}
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-23 20:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17  8:30 [PATCH 1/1] btrfs: tests: remove unnecessary oom message Zhen Lei
2021-06-17 20:35 ` David Sterba
2021-06-18  2:33   ` Leizhen (ThunderTown)
2021-06-18  5:58     ` Qu Wenruo
2021-06-18  6:05       ` Qu Wenruo
2021-06-23 20:41         ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).