diff options
| author | Markus Elfring <[email protected]> | 2015-11-07 16:30:34 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-07 13:17:32 -0500 |
| commit | 3694bfbdb3bd5cf6632140c7f7fdf6f31d43ee66 (patch) | |
| tree | e36c618911cd85187001e3812654646feb964fc5 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 40baec225765c54eefa870530dd613bad9829bb7 (diff) | |
dwc_eth_qos: Delete an unnecessary check before the function call "of_node_put"
The of_node_put() function tests whether its argument is NULL
and then returns immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions