Staging: lustre: Remove print statement on function failure
[deliverable/linux.git] / drivers / staging / lustre / lustre / obdclass / llog.c
index f7ee605c74d05aa20d445d733dd83f9d3d98eb00..992573eae1b12f992a756fad78161d54190b7a08 100644 (file)
@@ -365,10 +365,8 @@ int llog_process_or_fork(const struct lu_env *env,
        int                   rc;
 
        lpi = kzalloc(sizeof(*lpi), GFP_NOFS);
-       if (!lpi) {
-               CERROR("cannot alloc pointer\n");
+       if (!lpi)
                return -ENOMEM;
-       }
        lpi->lpi_loghandle = loghandle;
        lpi->lpi_cb     = cb;
        lpi->lpi_cbdata    = data;
This page took 0.041428 seconds and 5 git commands to generate.