hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/vme/vme.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * VME Bridge Framework
34 *
....@@ -6,11 +7,6 @@
67 *
78 * Based on work by Tom Armistead and Ajit Prem
89 * Copyright 2004 Motorola Inc.
9
- *
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License as published by the
12
- * Free Software Foundation; either version 2 of the License, or (at your
13
- * option) any later version.
1410 */
1511
1612 #include <linux/init.h>
....@@ -1890,7 +1886,6 @@
18901886
18911887 err_reg:
18921888 put_device(&vdev->dev);
1893
- kfree(vdev);
18941889 err_devalloc:
18951890 list_for_each_entry_safe(vdev, tmp, &drv->devices, drv_list) {
18961891 list_del(&vdev->drv_list);