diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-14 17:04:51 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-14 17:04:51 +0200 |
commit | 773e13be02f1f42c8ac578031282c9455be023bb (patch) | |
tree | 66a2aed891a25d98447179585ce0e31dac876f7d /driver | |
parent | 8656e2c08162bc2a03e45f1f1a15c1d8273cd678 (diff) |
remove unused parameters from week 1
Diffstat (limited to 'driver')
-rw-r--r-- | driver/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/driver/main.c b/driver/main.c index e7d7d96..226f158 100644 --- a/driver/main.c +++ b/driver/main.c @@ -6,14 +6,6 @@ #include "fopdrv.h" #include "config.h" -int one = 0; -module_param(one, int, 0400); -MODULE_PARM_DESC(one, "first parameter, only printed on init"); - -int not_named_two = 0; -module_param_named(two, not_named_two, int, 0400); -MODULE_PARM_DESC(not_named_two, "second parameter, only printed on init"); - struct cdev *cdev; struct device *dev; struct class *class; @@ -82,7 +74,6 @@ static int mod_init(void) { iounmap(gpio1); // printk("%s() -> 0 (%d:%d)\n", __PRETTY_FUNCTION__, MAJOR(node), MINOR(node)); - // printk("one = %d, two = %d\n", one, not_named_two); return 0; |