hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/isdn/mISDN/tei.c
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 *
34 * Author Karsten Keil <kkeil@novell.com>
45 *
56 * 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
- *
167 */
178 #include "layer2.h"
189 #include <linux/random.h>
....@@ -1337,10 +1328,8 @@
13371328 }
13381329 out:
13391330 read_unlock_irqrestore(&mgr->lock, flags);
1340
- if (cskb)
1341
- dev_kfree_skb(cskb);
1342
- if (skb)
1343
- dev_kfree_skb(skb);
1331
+ dev_kfree_skb(cskb);
1332
+ dev_kfree_skb(skb);
13441333 return 0;
13451334 }
13461335