hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/cgroup_rdma.h
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016 Parav Pandit <pandit.parav@gmail.com>
3
- *
4
- * This file is subject to the terms and conditions of version 2 of the GNU
5
- * General Public License. See the file COPYING in the main directory of the
6
- * Linux distribution for more details.
74 */
85
96 #ifndef _CGROUP_RDMA_H
....@@ -39,7 +36,7 @@
3936 * APIs for RDMA/IB stack to publish when a device wants to
4037 * participate in resource accounting
4138 */
42
-int rdmacg_register_device(struct rdmacg_device *device);
39
+void rdmacg_register_device(struct rdmacg_device *device);
4340 void rdmacg_unregister_device(struct rdmacg_device *device);
4441
4542 /* APIs for RDMA/IB stack to charge/uncharge pool specific resources */