aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSergei Shtylyov <[email protected]>2017-12-31 21:41:35 +0300
committerDavid S. Miller <[email protected]>2018-01-03 10:21:35 -0500
commit5d0c100c228b51ce2c14bdbc845ca446e0494689 (patch)
tree23a90565862864773f59254f98068b2df5e8f99e /lib/memory-notifier-error-inject.c
parent72bca2084a21edda74b802bc076083d5951f67b4 (diff)
ravb: kill redundant check in the probe() method
Browsing thru the driver disassembly, I noticed that gcc was able to 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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions