Re: [PATCH 1/2] ravb: kill redundant check in the probe() method
From: Sergei Shtylyov <hidden>
Date: 2018-01-02 10:09:53
Also in:
linux-renesas-soc
From: Sergei Shtylyov <hidden>
Date: 2018-01-02 10:09:53
Also in:
linux-renesas-soc
Hello! On 12/31/2017 9:41 PM, Sergei Shtylyov wrote:
Browsing thru the driver diassembly, I noticed that gcc was able to
Aw, it's disassembly!
DaveM, is that worth reposting?
figure out that the 'ndev' pointer is always non-NULL when calling free_netdev() on the probe() method's error path and thus skip that redundant NULL check... gcc is smart, be like gcc! Signed-off-by: Sergei Shtylyov <redacted>
[...] MBR, Sergei