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 thatredundant NULL check... gcc is smart, be like gcc!Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
[...] MBR, Sergei