summaryrefslogtreecommitdiff
path: root/firmware/av7110
diff options
context:
space:
mode:
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>2017-06-20 17:11:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-24 00:32:46 +0800
commit606c21759774a6694d4219d5bb96704ab13e20a0 (patch)
treed7e93c137ac9e49c56f552d1ea29f06d3729f57b /firmware/av7110
parent3c1746edd12d4e3279b47a9fb8dc0eedc77d679d (diff)
staging: most: net: make net device lifetime obvious
The function aim_probe_channel calls only one of the functions alloc_netdev and register_netdev per run. Correspondingly, the function aim_disconnect_channel calls only one of the functions unregister_netdev and free_netdev per run. This patch makes it obvious by using the 'else' part of the 'if' statement. Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/av7110')
0 files changed, 0 insertions, 0 deletions