treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / lib / livepatch / test_klp_callbacks_mod.c
blob8fbe645b1c2c070ce4ae584dab1aca08eca2437c
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Joe Lawrence <joe.lawrence@redhat.com>
4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
6 #include <linux/module.h>
7 #include <linux/kernel.h>
9 static int test_klp_callbacks_mod_init(void)
11 pr_info("%s\n", __func__);
12 return 0;
15 static void test_klp_callbacks_mod_exit(void)
17 pr_info("%s\n", __func__);
20 module_init(test_klp_callbacks_mod_init);
21 module_exit(test_klp_callbacks_mod_exit);
22 MODULE_LICENSE("GPL");
23 MODULE_AUTHOR("Joe Lawrence <joe.lawrence@redhat.com>");
24 MODULE_DESCRIPTION("Livepatch test: target module");