| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Author Karsten Keil <kkeil@novell.com> |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | 7 | */ |
|---|
| 17 | 8 | |
|---|
| 18 | 9 | #include <linux/mISDNif.h> |
|---|
| .. | .. |
|---|
| 909 | 900 | send_uframe(l2, NULL, DISC | 0x10, CMD); |
|---|
| 910 | 901 | mISDN_FsmDelTimer(&l2->t203, 1); |
|---|
| 911 | 902 | restart_t200(l2, 2); |
|---|
| 912 | | - if (skb) |
|---|
| 913 | | - dev_kfree_skb(skb); |
|---|
| 903 | + dev_kfree_skb(skb); |
|---|
| 914 | 904 | } |
|---|
| 915 | 905 | |
|---|
| 916 | 906 | static void |
|---|
| .. | .. |
|---|
| 1731 | 1721 | enquiry_cr(l2, RNR, RSP, 0); |
|---|
| 1732 | 1722 | test_and_clear_bit(FLG_ACK_PEND, &l2->flag); |
|---|
| 1733 | 1723 | } |
|---|
| 1734 | | - if (skb) |
|---|
| 1735 | | - dev_kfree_skb(skb); |
|---|
| 1724 | + dev_kfree_skb(skb); |
|---|
| 1736 | 1725 | } |
|---|
| 1737 | 1726 | |
|---|
| 1738 | 1727 | static void |
|---|
| .. | .. |
|---|
| 1745 | 1734 | enquiry_cr(l2, RR, RSP, 0); |
|---|
| 1746 | 1735 | test_and_clear_bit(FLG_ACK_PEND, &l2->flag); |
|---|
| 1747 | 1736 | } |
|---|
| 1748 | | - if (skb) |
|---|
| 1749 | | - dev_kfree_skb(skb); |
|---|
| 1737 | + dev_kfree_skb(skb); |
|---|
| 1750 | 1738 | } |
|---|
| 1751 | 1739 | |
|---|
| 1752 | 1740 | static void |
|---|