hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/bluetooth/hci_bcsp.c
....@@ -1,25 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 *
34 * Bluetooth HCI UART driver
45 *
56 * Copyright (C) 2002-2003 Fabrizio Gennari <fabrizio.gennari@philips.com>
67 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>
7
- *
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
- *
238 */
249
2510 #include <linux/module.h>
....@@ -393,7 +378,7 @@
393378 i++;
394379
395380 __skb_unlink(skb, &bcsp->unack);
396
- kfree_skb(skb);
381
+ dev_kfree_skb_irq(skb);
397382 }
398383
399384 if (skb_queue_empty(&bcsp->unack))