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

From: David Miller
Date: Wed Sep 13 2017 - 12:20:49 EST


From: Allen Pais <allen.lkml@xxxxxxxxx>
Date: Wed, 13 Sep 2017 13:02:15 +0530

> Signed-off-by: Allen Pais <allen.lkml@xxxxxxxxx>

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.