| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * DLCI Implementation of Frame Relay protocol for Linux, according to |
|---|
| 3 | 4 | * RFC 1490. This generic device provides en/decapsulation for an |
|---|
| .. | .. |
|---|
| 21 | 22 | * 0.25 Mike McLagan Converted to use SIOC IOCTL calls |
|---|
| 22 | 23 | * 0.30 Jim Freeman Fixed to allow IPX traffic |
|---|
| 23 | 24 | * 0.35 Michael Elizabeth Fixed incorrect memcpy_fromfs |
|---|
| 24 | | - * |
|---|
| 25 | | - * This program is free software; you can redistribute it and/or |
|---|
| 26 | | - * modify it under the terms of the GNU General Public License |
|---|
| 27 | | - * as published by the Free Software Foundation; either version |
|---|
| 28 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 29 | 25 | */ |
|---|
| 30 | 26 | |
|---|
| 31 | 27 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 299 | 295 | { |
|---|
| 300 | 296 | struct dlci_local *dlp; |
|---|
| 301 | 297 | struct frad_local *flp; |
|---|
| 302 | | - int err; |
|---|
| 303 | 298 | |
|---|
| 304 | 299 | netif_stop_queue(dev); |
|---|
| 305 | 300 | |
|---|
| 306 | 301 | dlp = netdev_priv(dev); |
|---|
| 307 | 302 | |
|---|
| 308 | 303 | flp = netdev_priv(dlp->slave); |
|---|
| 309 | | - err = (*flp->deactivate)(dlp->slave, dev); |
|---|
| 304 | + (*flp->deactivate)(dlp->slave, dev); |
|---|
| 310 | 305 | |
|---|
| 311 | 306 | return 0; |
|---|
| 312 | 307 | } |
|---|