Web lists-archives.com

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




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.