[Nouveau] [PATCH 06/10] drivers:ethernet: return -ENOMEM on allocation failure.

David Miller
2017-09-13T16:20:31Z

From: Allen Pais <allen.lkml at gmail.com>
Date: Wed, 13 Sep 2017 13:02:15 +0530

> Signed-off-by: Allen Pais <allen.lkml at gmail.com>

This is quite pointless as the caller doesn't do anything with
the value, it just tests whether a negative value is returned
or not.