lockd: Delete an error message for a failed memory allocation in reclaimer()

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

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

authored by

Markus Elfring and committed by
Trond Myklebust
58a69893 03c6f7d6

+1 -5
+1 -5
fs/lockd/clntlock.c
··· 235 235 struct net *net = host->net; 236 236 237 237 req = kmalloc(sizeof(*req), GFP_KERNEL); 238 - if (!req) { 239 - printk(KERN_ERR "lockd: reclaimer unable to alloc memory." 240 - " Locks for %s won't be reclaimed!\n", 241 - host->h_name); 238 + if (!req) 242 239 return 0; 243 - } 244 240 245 241 allow_signal(SIGKILL); 246 242