Merge pull request #274 from NOVBobLee/pr_patch2
Some checks are pending
build-deploy-assets / build (push) Waiting to run
deploy-github-page / build (push) Waiting to run
status-checks / validate (push) Waiting to run

Remove the redundant code
This commit is contained in:
Jim Huang 2024-10-08 21:27:38 +08:00 committed by GitHub
commit 3203aa3ce5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ static ssize_t myvariable_store(struct kobject *kobj,
struct kobj_attribute *attr, char *buf, struct kobj_attribute *attr, char *buf,
size_t count) size_t count)
{ {
sscanf(buf, "%du", &myvariable); sscanf(buf, "%d", &myvariable);
return count; return count;
} }