diff options
| author | Peng Li <[email protected]> | 2021-06-09 09:39:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-09 21:02:58 +0000 |
| commit | 2e350780ae4f2be8a2525929b6c69c2dd9591a20 (patch) | |
| tree | 8371b3bc51d9ef4556d6a18b650531ceef247de3 /drivers/net/wan/lapbether.c | |
| parent | net: lapbether: move out assignment in if condition (diff) | |
| download | kernel-2e350780ae4f2be8a2525929b6c69c2dd9591a20.tar.gz kernel-2e350780ae4f2be8a2525929b6c69c2dd9591a20.zip | |
net: lapbether: remove trailing whitespaces
This patch removes trailing whitespaces.
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
| -rw-r--r-- | drivers/net/wan/lapbether.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index e5ae04338258..169b323733ac 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c @@ -6,7 +6,7 @@ * * This is a "pseudo" network driver to allow LAPB over Ethernet. * - * This driver can use any ethernet destination address, and can be + * This driver can use any ethernet destination address, and can be * limited to accept frames from one dedicated ethernet card only. * * History @@ -72,7 +72,7 @@ static struct lapbethdev *lapbeth_get_x25_dev(struct net_device *dev) struct lapbethdev *lapbeth; list_for_each_entry_rcu(lapbeth, &lapbeth_devices, node, lockdep_rtnl_is_held()) { - if (lapbeth->ethdev == dev) + if (lapbeth->ethdev == dev) return lapbeth; } return NULL; @@ -468,7 +468,7 @@ static int lapbeth_device_event(struct notifier_block *this, case NETDEV_GOING_DOWN: /* ethernet device closes -> close LAPB interface */ lapbeth = lapbeth_get_x25_dev(dev); - if (lapbeth) + if (lapbeth) dev_close(lapbeth->axdev); break; case NETDEV_UNREGISTER: |
