staging: vc04_services: Remove error message on kmalloc() failure
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Sat, 4 Mar 2017 20:02:31 +0000 (22:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 18:27:28 +0000 (19:27 +0100)
Remove 'Out of memory' message because kmalloc already prints a message
in case of error.

Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c

index ff0a1ff95b540b684b9eea9eff6bccf7b8ca1720..d9622e821238fc3ad15a97143e6f623244ece013 100644 (file)
@@ -2606,9 +2606,6 @@ vchiq_add_service_internal(VCHIQ_STATE_T *state,
                sema_init(&service->bulk_remove_event, 0);
                mutex_init(&service->bulk_mutex);
                memset(&service->stats, 0, sizeof(service->stats));
-       } else {
-               vchiq_log_error(vchiq_core_log_level,
-                       "Out of memory");
        }
 
        if (service) {