diff options
| author | Sergei Shtylyov <[email protected]> | 2017-12-31 21:41:36 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-01-03 10:21:35 -0500 |
| commit | 4282fc47c01262fdda55a9d63a4e25173fd9afb4 (patch) | |
| tree | af2fd522bbc6d9d22f7d34de40fdd1efeca5473c /lib/mpi/mpi-cmp.c | |
| parent | 5d0c100c228b51ce2c14bdbc845ca446e0494689 (diff) | |
sh_eth: 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/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions