quota: remove unnecessary oom message
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 18 Jun 2021 01:47:20 +0000 (09:47 +0800)
committerJan Kara <jack@suse.cz>
Tue, 22 Jun 2021 08:40:52 +0000 (10:40 +0200)
commitce1b06c5f5e7fd2af8bc89323d9eb3102d8e3fe2
tree79789c47af5236e605d3abd429f6d8aece0d09dc
parente8d46b384129acb0c6b240f5da3ca1484cfefcc7
quota: remove unnecessary oom message

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

Remove it can help us save a bit of memory. After that, the static
function getdqbuf() becomes unnecessary, get rid of it and instead call
kmalloc() directly.

Link: https://lore.kernel.org/r/20210618014720.1977-2-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota_tree.c